edu.mit.stellar.api.roster
Interface Relationship


public interface Relationship

Relationship. connects Principal to a Property name/value pair via a RelationshipType

Version:
$Revision: 30003 $, $Date: 2008-02-11 01:37:43 -0500 (Mon, 11 Feb 2008) $
Author:
MIT Stellar team

Method Summary
 java.security.Principal getPrincipal()
           
 javax.jcr.Property getProperty()
          a Property in jcr has a name accessed via getName() and a value or values.
 RelationshipType getRelationshipType()
           
 

Method Detail

getPrincipal

java.security.Principal getPrincipal()
Returns:
the Principal for this Relationship

getProperty

javax.jcr.Property getProperty()
a Property in jcr has a name accessed via getName() and a value or values. However, there's no method in this specification to say if a Property is single- or multi-valued, so perhaps a better Property object will be established.

Returns:
the Property for this Relationship

getRelationshipType

RelationshipType getRelationshipType()
Returns:
the RelationshipType of this Relationship


Copyright © 2007-2008 MIT IS&T ISDA. All Rights Reserved.