Class YTypeSystemElement

java.lang.Object
de.hybris.bootstrap.typesystem.YNameSpaceElement
de.hybris.bootstrap.typesystem.YTypeSystemElement
Direct Known Subclasses:
YDescriptor, YEnumValue, YType

public abstract class YTypeSystemElement extends YNameSpaceElement
  • Method Details

    • validate

      public void validate()
      Description copied from class: YNameSpaceElement
      Validates the element. This should check whether or not lazy references can be resolved or any data is missing.
      Overrides:
      validate in class YNameSpaceElement
    • resetCaches

      public void resetCaches()
      Description copied from class: YNameSpaceElement
      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.
      Overrides:
      resetCaches in class YNameSpaceElement
    • getDefaultMetaTypeCode

      protected abstract String getDefaultMetaTypeCode()
    • getMetaTypeCode

      public String getMetaTypeCode()
    • getMetaType

      public YComposedType getMetaType()
    • setMetaTypeCode

      public void setMetaTypeCode(String metaTypeCode)
    • getCustomProps

      public Map<String,String> getCustomProps()
    • addCustomProperties

      public void addCustomProperties(Map<String,String> props)
    • addCustomProperty

      public void addCustomProperty(String qualifer, String valueDef)
    • isAutocreate

      public boolean isAutocreate()
    • setAutocreate

      public void setAutocreate(boolean autocreate)
    • isGenerate

      public boolean isGenerate()
    • setGenerate

      public void setGenerate(boolean generate)