Package de.hybris.bootstrap.typesystem
Class YNameSpaceElement
java.lang.Object
de.hybris.bootstrap.typesystem.YNameSpaceElement
- Direct Known Subclasses:
YComposedType.YModelConstructor,YDBTypeMapping,YDeployment,YDeploymentElement,YIndex,YTypeSystemElement
Root class of all standalone type system elements. Provides access to the enclosing namespace.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides optional info which has to be set during type system loading.voidSince most typesystem elements use lazy references e.g.voidsetLoaderInfo(String loaderInfo) Sets optional info describing how the element has been loaded.toString()voidvalidate()Validates the element.
-
Constructor Details
-
YNameSpaceElement
-
-
Method Details
-
resetCaches
public void resetCaches()Since most typesystem elements use lazy references e.g. by codes this method allows to reset all lazy loaded references and data so that they will be calculated anew upon next access. -
validate
public void validate()Validates the element. This should check whether or not lazy references can be resolved or any data is missing. -
getNamespace
- Returns:
- the enclosing namespace
-
getTypeSystem
- Returns:
- the owning type system
-
getLoaderInfo
Provides optional info which has to be set during type system loading. -
setLoaderInfo
Sets optional info describing how the element has been loaded.- Parameters:
loaderInfo- the info
-
toString
-