|
|||||||||
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. |
java.lang.String |
getID2() Provides a UID of the second identity. |
void |
setAttribute(java.lang.String attr, java.lang.Object val) Adds the attribute attr and it's value val . |
java.lang.String |
toString() Returns the string representation of this Relationship. |
Method Detail |
---|
java.lang.String getID1()
java.lang.String getID2()
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 |