Package de.hybris.bootstrap.typesystem
Class YTypeSystemElement
java.lang.Object
de.hybris.bootstrap.typesystem.YNameSpaceElement
de.hybris.bootstrap.typesystem.YTypeSystemElement
- Direct Known Subclasses:
YDescriptor,YEnumValue,YType
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomProperties(Map<String, String> props) voidaddCustomProperty(String qualifer, String valueDef) protected abstract StringbooleanbooleanvoidSince most typesystem elements use lazy references e.g.voidsetAutocreate(boolean autocreate) voidsetGenerate(boolean generate) voidsetMetaTypeCode(String metaTypeCode) voidvalidate()Validates the element.Methods inherited from class de.hybris.bootstrap.typesystem.YNameSpaceElement
getLoaderInfo, getNamespace, getTypeSystem, setLoaderInfo, toString
-
Method Details
-
validate
public void validate()Description copied from class:YNameSpaceElementValidates the element. This should check whether or not lazy references can be resolved or any data is missing.- Overrides:
validatein classYNameSpaceElement
-
resetCaches
public void resetCaches()Description copied from class:YNameSpaceElementSince 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:
resetCachesin classYNameSpaceElement
-
getDefaultMetaTypeCode
-
getMetaTypeCode
-
getMetaType
-
setMetaTypeCode
-
getCustomProps
-
addCustomProperties
-
addCustomProperty
-
isAutocreate
public boolean isAutocreate() -
setAutocreate
public void setAutocreate(boolean autocreate) -
isGenerate
public boolean isGenerate() -
setGenerate
public void setGenerate(boolean generate)
-