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
public abstract class YNameSpaceElement extends java.lang.ObjectRoot class of all standalone type system elements. Provides access to the enclosing namespace.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedYNameSpaceElement(YNamespace container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLoaderInfo()Provides optional info which has to be set during type system loading.YNamespacegetNamespace()YTypeSystemgetTypeSystem()voidresetCaches()Since most typesystem elements use lazy references e.g.voidsetLoaderInfo(java.lang.String loaderInfo)Sets optional info describing how the element has been loaded.java.lang.StringtoString()voidvalidate()Validates the element.
-
-
-
Constructor Detail
-
YNameSpaceElement
protected YNameSpaceElement(YNamespace container)
-
-
Method Detail
-
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
public YNamespace getNamespace()
- Returns:
- the enclosing namespace
-
getTypeSystem
public YTypeSystem getTypeSystem()
- Returns:
- the owning type system
-
getLoaderInfo
public java.lang.String getLoaderInfo()
Provides optional info which has to be set during type system loading.
-
setLoaderInfo
public void setLoaderInfo(java.lang.String loaderInfo)
Sets optional info describing how the element has been loaded.- Parameters:
loaderInfo- the info
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-