public class YRelationEnd extends YDescriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
YRelationEnd.Cardinality |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONDITION_QUERY |
static String |
DEFAULT_POSITION_ATTRIBUTE_SUFFIX |
static String |
ITEM_CUSTOM_ORDERING_ATTRIBUTE |
| Constructor and Description |
|---|
YRelationEnd(YNamespace container,
String relationCode,
String role,
String typeCode,
boolean navigable,
boolean isSource) |
| Modifier and Type | Method and Description |
|---|---|
YRelationEnd.Cardinality |
getCardinality() |
YCollectionType.TypeOfCollection |
getCollectionType() |
String |
getConditionQuery() |
protected String |
getDefaultMetaTypeCode() |
String |
getDescription() |
YAttributeDescriptor |
getMappedAttribute() |
YAttributeDescriptor |
getMappedLocalizationAttribute() |
YAttributeDescriptor |
getMappedOrderingAttribute() |
ModelTagListener.ModelData |
getModelData() |
YRelationEnd |
getOppositeEnd() |
YRelation |
getRelation() |
String |
getRelationCode() |
String |
getRole() |
YComposedType |
getType() |
Boolean |
hasConditionQuery() |
boolean |
isNavigable() |
boolean |
isOrdered() |
boolean |
isSource() |
boolean |
mappedAttributeDoesntExist() |
void |
setCardinality(YRelationEnd.Cardinality card) |
void |
setCollectionType(YCollectionType.TypeOfCollection collectionType) |
void |
setDescription(String description) |
void |
setModelData(ModelTagListener.ModelData modelData) |
void |
setOrdered(boolean ordered) |
void |
validate()
Validates the element.
|
getModifiers, getQualifier, getTypeCode, isUniqueModifier, redeclare, redeclare, resetCaches, setModifiers, setUniqueModifier, toStringaddCustomProperties, addCustomProperty, getCustomProps, getMetaType, getMetaTypeCode, isAutocreate, isGenerate, setAutocreate, setGenerate, setMetaTypeCodegetLoaderInfo, getNamespace, getTypeSystem, setLoaderInfopublic static final String ITEM_CUSTOM_ORDERING_ATTRIBUTE
public static final String DEFAULT_POSITION_ATTRIBUTE_SUFFIX
public static final String CONDITION_QUERY
public YRelationEnd(YNamespace container, String relationCode, String role, String typeCode, boolean navigable, boolean isSource)
protected String getDefaultMetaTypeCode()
getDefaultMetaTypeCode in class YTypeSystemElementpublic void validate()
YNameSpaceElementvalidate in class YDescriptorpublic String getRole()
public YRelationEnd.Cardinality getCardinality()
public void setCardinality(YRelationEnd.Cardinality card)
public boolean isSource()
public String getRelationCode()
public YRelation getRelation()
public YComposedType getType()
getType in class YDescriptorpublic YRelationEnd getOppositeEnd()
public boolean mappedAttributeDoesntExist()
public YAttributeDescriptor getMappedAttribute()
public YAttributeDescriptor getMappedOrderingAttribute()
public YAttributeDescriptor getMappedLocalizationAttribute()
public Boolean hasConditionQuery()
public String getConditionQuery()
public YCollectionType.TypeOfCollection getCollectionType()
public void setCollectionType(YCollectionType.TypeOfCollection collectionType)
collectionType - the collectionType to setpublic boolean isOrdered()
public boolean isNavigable()
public void setOrdered(boolean ordered)
ordered - the ordered to setpublic String getDescription()
public void setDescription(String description)
public void setModelData(ModelTagListener.ModelData modelData)
public ModelTagListener.ModelData getModelData()
Copyright © 2017 SAP SE. All Rights Reserved.