com.ibm.ram.common.data
Class RelationshipType

java.lang.Object
  extended by com.ibm.ram.common.data.RelationshipType
Direct Known Subclasses:
RAMRelationshipType

public class RelationshipType
extends java.lang.Object

Defines the relationship between two assets

Since:
7.1

Constructor Summary
RelationshipType()
           
 
Method Summary
 java.lang.String getDisplayName()
          Get the display name to use for the forward relationship.
 java.lang.String getName()
          Get the name of the forward relationship.
 java.lang.String getReverseName()
          Get the reverse name (the opposite relationship).
 boolean isPreferredEnd()
          Is this the preferred end.
 void setDisplayName(java.lang.String displayName)
           
 void setName(java.lang.String name)
           
 void setPreferredEnd(boolean preferredEnd)
          Set if the preferred end.
 void setReverseName(java.lang.String reverseName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipType

public RelationshipType()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Get the display name to use for the forward relationship.

Returns:
Returns the displayName.
Since:
7.1

setDisplayName

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

getName

public java.lang.String getName()
Get the name of the forward relationship. This is the name that actually goes into the manifest.

Returns:
Returns the name.
Since:
7.1

setName

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

isPreferredEnd

public boolean isPreferredEnd()
Is this the preferred end.

Returns:
true if this is the preferred end.
Since:
7.1

setPreferredEnd

public void setPreferredEnd(boolean preferredEnd)
Set if the preferred end.

Parameters:
preferredEnd -
Since:
7.1

getReverseName

public java.lang.String getReverseName()
Get the reverse name (the opposite relationship). This is the name that actually goes into the manifest.

Returns:
Returns the reverseName.
Since:
7.1

setReverseName

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