com.ibm.ram.common.data
Class Relationship

java.lang.Object
  extended by com.ibm.ram.common.data.Relationship
Direct Known Subclasses:
RAMRelationship

public class Relationship
extends java.lang.Object

Represents a relationship between two assets

Since:
7.1

Constructor Summary
Relationship()
           
 
Method Summary
 java.lang.String getChildAssetGUID()
          Gets the child GUID from the manifest 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
 java.lang.String getRelationshipTypeName()
           
 void setChildAssetGUID(java.lang.String childAssetGUID)
           
 void setChildAssetVersion(java.lang.String childAssetVersion)
           
 void setParentAsset(Asset parentAsset)
           
 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
 

Constructor Detail

Relationship

public Relationship()
Method Detail

getParentAsset

public Asset getParentAsset()
The parent asset

Since:
7.1

getChildAssetGUID

public java.lang.String getChildAssetGUID()
Gets the child GUID from the manifest does not fetch the asset if we do not have to

Since:
7.1

getChildAssetVersion

public java.lang.String getChildAssetVersion()
Gets the child version from the manifest does not fetch the asset if we do not have to

Since:
7.1

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getRelationshipTypeName

public java.lang.String getRelationshipTypeName()
Returns:
The name of the Relationship Type for this relationship.
Since:
7.1

setChildAssetGUID

public void setChildAssetGUID(java.lang.String childAssetGUID)
Parameters:
childAssetGUID - The childAssetGUID to set.
Since:
7.1

setChildAssetVersion

public void setChildAssetVersion(java.lang.String childAssetVersion)
Parameters:
childAssetVersion - The childAssetVersion to set.
Since:
7.1

setParentAsset

public void setParentAsset(Asset parentAsset)
Parameters:
parentAsset - The parentAsset to set.
Since:
7.1

setRelationshipTypeName

public void setRelationshipTypeName(java.lang.String relationshipTypeName)
Parameters:
relationshipTypeName - The relationshipTypeName to set.
Since:
7.1