public class YRelation extends YComposedType
YComposedType.YModelConstructor| Constructor and Description |
|---|
YRelation(YNamespace container,
String code) |
YRelation(YNamespace container,
String code,
String superTypeCode,
String jaloClassName) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowMetaTypeInheritanceFrom(YComposedType superType)
Dont inherit meta type from 'normal' composed types - using default meta type instead.
|
protected String |
getDefaultMetaTypeCode() |
YAttributeDescriptor |
getLocalizationAttribute() |
YAttributeDescriptor |
getOrderingAttribute() |
YRelationEnd |
getSourceEnd() |
YRelationEnd |
getTargetEnd() |
boolean |
isLocalized() |
boolean |
isOneToMany() |
void |
setLocalized(boolean localized) |
void |
setSourceEnd(YRelationEnd src) |
void |
setTargetEnd(YRelationEnd tgt) |
void |
validate()
Validates the element.
|
addConstructorSignatures, equals, getAllSubtypes, getAllSuperTypes, getAttribute, getAttributeIncludingSuperType, getAttributes, getCustomProps, getDeclaredAttributes, getDeployment, getDeploymentName, 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, setGenerateModel, setJaloClassName, setJaloOnly, setLegacyPersistence, setSingleton, setTypeDescriptiongetCode, getDefaultValueDefinition, setDefaultValueDefinition, toStringaddCustomProperties, addCustomProperty, getMetaTypeCode, isAutocreate, isGenerate, resetCaches, setAutocreate, setGenerate, setMetaTypeCodegetLoaderInfo, getNamespace, getTypeSystem, setLoaderInfopublic YRelation(YNamespace container, String code)
public YRelation(YNamespace container, String code, String superTypeCode, String jaloClassName)
protected boolean allowMetaTypeInheritanceFrom(YComposedType superType)
allowMetaTypeInheritanceFrom in class YComposedTypeprotected String getDefaultMetaTypeCode()
getDefaultMetaTypeCode in class YComposedTypepublic void validate()
YNameSpaceElementvalidate in class YComposedTypepublic boolean isLocalized()
public void setLocalized(boolean localized)
public boolean isOneToMany()
public YAttributeDescriptor getOrderingAttribute()
public YAttributeDescriptor getLocalizationAttribute()
public YRelationEnd getSourceEnd()
public YRelationEnd getTargetEnd()
public void setSourceEnd(YRelationEnd src)
public void setTargetEnd(YRelationEnd tgt)
Copyright © 2017 SAP SE. All Rights Reserved.