|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.RelationshipType
com.ibm.ram.client.RAMRelationshipType
public class RAMRelationshipType
Represents a relationship type
| Method Summary | |
|---|---|
RAMAction |
getAction()
Set the action to be performed on the session object. |
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). |
RelationshipType |
getReverseType()
Return the reverse relationship type. |
RAMSession |
getSession()
Returns the session this type was fetched from |
boolean |
isDirty()
Returns true if this Relationship Type has been modified |
boolean |
isPreferredEnd()
Is this the preferred end. |
void |
setAction(RAMAction action)
Set the action to be performed when passed to RAMSession#put(IRAMSessionObject, org.eclipse.core.runtime.IProgressMonitor)
Accepts
RAMAction.CREATE
RAMAction.DELETE |
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)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getDisplayName()
throws RAMRuntimeException
RelationshipType
getDisplayName in class RelationshipTypeRAMRuntimeExceptionpublic void setDisplayName(java.lang.String displayName)
setDisplayName in class RelationshipTypedisplayName - The displayName to set.
public java.lang.String getName()
throws RAMRuntimeException
RelationshipType
getName in class RelationshipTypeRAMRuntimeExceptionpublic void setName(java.lang.String name)
setName in class RelationshipTypename - The name to set.public java.lang.String toString()
toString in class java.lang.Objectpublic RelationshipType getReverseType()
public RAMSession getSession()
public java.lang.String getReverseName()
RelationshipType
getReverseName in class RelationshipTypepublic boolean isDirty()
public boolean isPreferredEnd()
RelationshipType
isPreferredEnd in class RelationshipTypetrue if this is the preferred end.public void setPreferredEnd(boolean preferredEnd)
RelationshipType
setPreferredEnd in class RelationshipTypepublic void setReverseName(java.lang.String reverseName)
setReverseName in class RelationshipTypereverseName - The reverseName to set.public RAMAction getAction()
public void setAction(RAMAction action)
RAMSession#put(IRAMSessionObject, org.eclipse.core.runtime.IProgressMonitor)
Accepts
RAMAction.CREATE
RAMAction.DELETE
action -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||