org.opencrx.security.identity1.jdo2
Class Subject.Identity

java.lang.Object
  extended by org.oasisopen.jdo2.AbstractIdentity
      extended by org.opencrx.security.identity1.jdo2.Subject.Identity
All Implemented Interfaces:
Serializable, Identity, Subject.Identity
Enclosing class:
Subject

public static class Subject.Identity
extends org.oasisopen.jdo2.AbstractIdentity
implements Subject.Identity

The object's application identity

See Also:
Serialized Form

Constructor Summary
Subject.Identity(Segment.Identity segment, QualifierType nameType, String name)
           
Subject.Identity(Segment.Identity segment, QualifierType nameType, String name, List<String> objectClass)
           
 
Method Summary
 String getName()
          The name value
 QualifierType getNameType()
          Tells whether the name value is persistent.
 Segment.Identity getSegment()
          Retrieve the Segment's identity
protected  Identity parent()
           
protected  String referenceName()
           
 
Methods inherited from class org.oasisopen.jdo2.AbstractIdentity
equals, hashCode, identifierType, qualifier, toString, toXRI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subject.Identity

public Subject.Identity(Segment.Identity segment,
                        QualifierType nameType,
                        String name)

Subject.Identity

public Subject.Identity(Segment.Identity segment,
                        QualifierType nameType,
                        String name,
                        List<String> objectClass)
Method Detail

referenceName

protected String referenceName()
Specified by:
referenceName in class org.oasisopen.jdo2.AbstractIdentity

getSegment

public Segment.Identity getSegment()
Retrieve the Segment's identity

Specified by:
getSegment in interface Subject.Identity
Returns:
the parent object's identity

parent

protected Identity parent()
Specified by:
parent in class org.oasisopen.jdo2.AbstractIdentity

getNameType

public QualifierType getNameType()
Tells whether the name value is persistent.

Specified by:
getNameType in interface Subject.Identity
Returns:
true if the name value is persistent.

getName

public String getName()
The name value

Specified by:
getName in interface Subject.Identity
Returns:
the name value


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.