Package de.hybris.bootstrap.typesystem
Class YRelation
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.bootstrap.typesystem.YComposedType
YComposedType.YModelConstructor -
Constructor Summary
ConstructorsConstructorDescriptionYRelation(YNamespace container, String code) YRelation(YNamespace container, String code, String superTypeCode, String jaloClassName) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanallowMetaTypeInheritanceFrom(YComposedType superType) Dont inherit meta type from 'normal' composed types - using default meta type instead.protected StringbooleanbooleanvoidsetLocalized(boolean localized) voidsetSourceEnd(YRelationEnd src) voidsetTargetEnd(YRelationEnd tgt) voidvalidate()Validates the element.Methods inherited from class de.hybris.bootstrap.typesystem.YComposedType
addConstructorSignatures, equals, getAllSubtypes, getAllSuperTypes, getAttribute, getAttributeIncludingSuperType, getAttributes, getCustomProps, getDeclaredAttributes, getDeployment, getDeploymentName, getDeprecatedSince, getJaloClass, getJaloClassName, getJaloOnlyClass, getJavaClassName, getMetaType, getOwnCustomProps, getOwnDeployment, getOwnJaloClass, getOwnJaloClassName, getRedeclaredAttributes, getSubtypes, getSuperType, getSuperTypeCode, getTypeDescription, getYModelConstructors, hashCode, isAbstract, isAssignableFrom, isGenerateModel, isJaloClassAbstract, isJaloOnly, isLegacyPersistence, isSingleton, isViewType, setAbstract, setDeploymentName, setDeprecatedSince, setGenerateModel, setJaloClassName, setJaloOnly, setLegacyPersistence, setSingleton, setTypeDescriptionMethods inherited from class de.hybris.bootstrap.typesystem.YType
getCode, getDefaultValueDefinition, setDefaultValueDefinition, toStringMethods inherited from class de.hybris.bootstrap.typesystem.YTypeSystemElement
addCustomProperties, addCustomProperty, getMetaTypeCode, isAutocreate, isGenerate, resetCaches, setAutocreate, setGenerate, setMetaTypeCodeMethods inherited from class de.hybris.bootstrap.typesystem.YNameSpaceElement
getLoaderInfo, getNamespace, getTypeSystem, setLoaderInfo
-
Constructor Details
-
YRelation
-
YRelation
-
-
Method Details
-
allowMetaTypeInheritanceFrom
Dont inherit meta type from 'normal' composed types - using default meta type instead.- Overrides:
allowMetaTypeInheritanceFromin classYComposedType
-
getDefaultMetaTypeCode
- Overrides:
getDefaultMetaTypeCodein classYComposedType
-
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 classYComposedType
-
isLocalized
public boolean isLocalized() -
setLocalized
public void setLocalized(boolean localized) -
isOneToMany
public boolean isOneToMany() -
getOrderingAttribute
-
getLocalizationAttribute
-
getSourceEnd
-
getTargetEnd
-
setSourceEnd
-
setTargetEnd
-