return classConfig != null ? classConfig.getAttribute(CLASS) : null;
}
@Override
public V1CamelImplementationModel setJavaClass(String className) {
Configuration classConfig = getModelConfiguration().getFirstChild(JAVA);
if (classConfig == null) {
NameValueModel model = new NameValueModel(getNamespaceURI(), JAVA);
model.getModelConfiguration().setAttribute(CLASS, className);
setChildModel(model);
} else {
classConfig.setAttribute(CLASS, className);
}
return this;
}