|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.Relationship
com.ibm.ram.client.RAMRelationship
public class RAMRelationship
Defines the relationship between two assets
| Method Summary | |
|---|---|
Asset |
getChildAsset()
The child asset |
java.lang.String |
getChildAssetGUID()
Gets the child GUID from the maniefest does not fetch the asset if we do not have to |
java.lang.String |
getChildAssetVersion()
Gets the child version from the manifest does not fetch the asset if we do not have to |
Asset |
getParentAsset()
The parent asset |
RelationshipRange |
getRelationshipRange()
Returns the relationshipRange for the relationship object. |
RelationshipType |
getRelationshipType()
The relationship type |
java.lang.String |
getRelationshipTypeName()
|
void |
setChildAssetGUID(java.lang.String childAssetGUID)
|
void |
setChildAssetVersion(java.lang.String childAssetVersion)
|
void |
setParentAsset(Asset parentAsset)
|
void |
setRelationshipType(RelationshipType type)
Set the relationship type |
void |
setRelationshipTypeName(java.lang.String relationshipTypeName)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Asset getParentAsset()
getParentAsset in class Relationship
public Asset getChildAsset()
throws RAMRuntimeException
RAMRuntimeException
public RelationshipType getRelationshipType()
throws RAMRuntimeException
RAMRuntimeExceptionpublic void setRelationshipType(RelationshipType type)
type - public java.lang.String getChildAssetGUID()
getChildAssetGUID in class Relationshippublic java.lang.String getChildAssetVersion()
getChildAssetVersion in class Relationshippublic java.lang.String toString()
toString in class Relationshippublic java.lang.String getRelationshipTypeName()
getRelationshipTypeName in class Relationshippublic void setChildAssetGUID(java.lang.String childAssetGUID)
setChildAssetGUID in class RelationshipchildAssetGUID - The childAssetGUID to set.public void setChildAssetVersion(java.lang.String childAssetVersion)
setChildAssetVersion in class RelationshipchildAssetVersion - The childAssetVersion to set.public void setParentAsset(Asset parentAsset)
setParentAsset in class RelationshipparentAsset - The parentAsset to set.public void setRelationshipTypeName(java.lang.String relationshipTypeName)
setRelationshipTypeName in class RelationshiprelationshipTypeName - The relationshipTypeName to set.public RelationshipRange getRelationshipRange()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||