|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sap.ip.me.api.smartsync.DependencyType
An enumeration of possible dependencies between SyncBOs with foreign key
relationships. This can either be
Not all foreign key relationships imply dependency; dependency only exists if the foreign key is necessary
to successfully post SyncBOs in to the backend.
Example:
To retrieve the RelationDescriptor from a certain FieldDescriptor fieldDesc object.
RelationDescriptor relationDesc = fieldDesc.getRelatedRelation();
DependencyType dependencyType = relationDesc.getDependency();
The value of dependencyType will be DependencyType.INDEPENDENT,DependencyType.RELATED_DEPENDENT,
DependencyType.RELATING_DEPENDENT for Independent,Related dependent,Relating dependent types of relationships.
RelationDescriptor
Field Summary | |
static DependencyType |
INDEPENDENT
Represents a non-dependency. |
static DependencyType |
RELATED_DEPENDENT
Describes dependency of related entity on relating entity |
static DependencyType |
RELATING_DEPENDENT
Describes dependency of relating entity on related entity |
Method Summary | |
static DependencyType |
forString(java.lang.String typeString)
Returns the DependencyType instance for the specified type string |
java.lang.String |
toString()
Returns the String description of this DependencyType object; either one of the following: "independent", "relatedDependent" , "relatingDependent" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static DependencyType INDEPENDENT
public static DependencyType RELATING_DEPENDENT
public static DependencyType RELATED_DEPENDENT
Method Detail |
public static DependencyType forString(java.lang.String typeString)
typeString
- the dependency type string that is either of the
following: "independent", "relatedDependent" , "relatingDependent"
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |