|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Relationship
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String attr)Get the value of the specified attribute attr. |
java.util.Set |
getAttributeNames()Provides a set of all the attribute names. |
java.util.Map |
getAttributes()Provides a map of all attribute-value pair of this identity. |
java.lang.String |
getID1()Provides a UID of the first identity. |
Identity |
getId1Entity()Returns the first identity. |
java.lang.String |
getID2()Provides a UID of the second identity. |
Identity |
getId2Entity()Returns the second identity. |
void |
setAttribute(java.lang.String attr, java.lang.Object val)Adds the attribute attr and it's value val. |
void |
setId1Entity(Identity id1)Sets the first identity. |
void |
setId2Entity(Identity id2)Sets the second identity |
java.lang.String |
toString()Returns the string representation of this Relationship. |
| Method Detail |
|---|
java.lang.String getID1()
java.lang.String getID2()
Identity getId1Entity()
void setId1Entity(Identity id1)
id1 - the first identityIdentity getId2Entity()
void setId2Entity(Identity id2)
id2 - the second identity
void setAttribute(java.lang.String attr,
java.lang.Object val)
attr and it's value val.attr - The attribute to be added.val - The value of the attribute.java.lang.Object getAttribute(java.lang.String attr)
attr.attr - The attribute whose value is to be returned.java.util.Map getAttributes()
map of all attribute-value pair of this identity.java.util.Set getAttributeNames()
java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||