|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RelationDescriptor
Relation descriptor. Relation describes a relation between two model classes. These classes don't have to be in the same model.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sap.tc.mobile.cfs.meta.api.AbstractDescriptor |
|---|
AbstractDescriptor.Visitor |
| Method Summary | |
|---|---|
java.lang.String |
getAliasName()
Get relation name. |
AttributeDescriptor |
getSourceBackingAttribute()
Get attribute backing this relation in left/source role (for non-virtual relations), to navigate to the target. |
Cardinality |
getSourceCardinality()
Get left side cardinality. |
ClassDescriptor |
getSourceRoleClass()
Get role class of the left side of the relation. |
java.lang.String |
getSourceRoleName()
Get role name of the left side of the relation. |
AttributeDescriptor |
getTargetBackingAttribute()
Get attribute backing this relation in right/target role (for non-virtual relations), to navigate back to the source. |
Cardinality |
getTargetCardinality()
Get right side cardinality. |
ClassDescriptor |
getTargetRoleClass()
Get role class of the right side of the relation. |
java.lang.String |
getTargetRoleName()
Get role name of the right side of the relation. |
java.lang.String |
getTechnicalName()
Get technical name of the relation. |
boolean |
isAggregation()
Get aggregation flag. |
boolean |
isBidirectional()
Get bidirectionality flag. |
boolean |
isVirtual()
Get virtual relation flag. |
| Methods inherited from interface com.sap.tc.mobile.cfs.meta.api.StorageTypeDescriptor |
|---|
getStorageType |
| Methods inherited from interface com.sap.tc.mobile.cfs.meta.api.AbstractDescriptor |
|---|
addUserDescriptor, clearAllUserDescriptors, getUserDescriptor, removeUserDescriptor, visit |
| Method Detail |
|---|
java.lang.String getTechnicalName()
java.lang.String getAliasName()
java.lang.String getSourceRoleName()
ClassDescriptor getSourceRoleClass()
Cardinality getSourceCardinality()
java.lang.String getTargetRoleName()
ClassDescriptor getTargetRoleClass()
Cardinality getTargetCardinality()
boolean isBidirectional()
boolean isAggregation()
AttributeDescriptor getSourceBackingAttribute()
AttributeDescriptor getTargetBackingAttribute()
boolean isVirtual()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||