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 Object
Root class of all standalone type system elements. Provides access to the enclosing namespace.
  • Constructor Details

    • YNameSpaceElement

      protected YNameSpaceElement(YNamespace container)
  • 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

      public YNamespace getNamespace()
      Returns:
      the enclosing namespace
    • getTypeSystem

      public YTypeSystem getTypeSystem()
      Returns:
      the owning type system
    • getLoaderInfo

      public String getLoaderInfo()
      Provides optional info which has to be set during type system loading.
    • setLoaderInfo

      public void setLoaderInfo(String loaderInfo)
      Sets optional info describing how the element has been loaded.
      Parameters:
      loaderInfo - the info
    • toString

      public String toString()
      Overrides:
      toString in class Object