org.opencrx.security.identity1.jpa3
Class Subject

java.lang.Object
  extended by org.w3c.jpa3.AbstractObject
      extended by org.opencrx.security.identity1.jpa3.Subject
All Implemented Interfaces:
Serializable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable, org.openmdx.security.realm1.cci2.Subject

public class Subject
extends org.w3c.jpa3.AbstractObject
implements Subject

Class Subject

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.AbstractStateAccessor, org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.ObjectState, org.w3c.jpa3.AbstractObject.SlicedList<E,S>, org.w3c.jpa3.AbstractObject.SlicedMap<E,S>, org.w3c.jpa3.AbstractObject.SlicedSet<E,S>
 
Nested classes/interfaces inherited from interface org.opencrx.security.identity1.cci2.Subject
Subject.Identity
 
Field Summary
 Timestamp createdAt
          Attribute createdAt.
 String identity
          Attribute identity.
 Timestamp modifiedAt
          Attribute modifiedAt.
 
Constructor Summary
Subject()
          Constructor
 
Method Summary
<T extends Context>
Map<String,T>
getContext()
          Retrieves the Map of objects referenced by context.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
          Retrieves a set containing all the elements for the attribute createdBy.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getIdentity()
          Retrieves the value for the attribute identity.
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
          Retrieves a set containing all the elements for the attribute modifiedBy.
protected  String getOpenmdxjdoIdentity()
          Retrieve the object's JDO identity key
protected
<E extends Subject$Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
 void setDescription(String description)
          Sets a new value for the attribute description.
protected  void setOpenmdxjdoIdentity(String value)
          Set the object's JDO identity key
 void setSegment_Id(String segment)
           
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identity

public String identity
Attribute identity.


modifiedAt

public Timestamp modifiedAt
Attribute modifiedAt.


createdAt

public Timestamp createdAt
Attribute createdAt.

Constructor Detail

Subject

public Subject()
Constructor

Method Detail

getOpenmdxjdoIdentity

protected String getOpenmdxjdoIdentity()
Retrieve the object's JDO identity key

Specified by:
getOpenmdxjdoIdentity in class org.w3c.jpa3.AbstractObject
Returns:
the value of the object's JDO identity key

setOpenmdxjdoIdentity

protected void setOpenmdxjdoIdentity(String value)
Set the object's JDO identity key

Specified by:
setOpenmdxjdoIdentity in class org.w3c.jpa3.AbstractObject

openmdxjdoGetSlices

protected final <E extends Subject$Slice> SortedMap<Integer,E> openmdxjdoGetSlices()

getIdentity

public String getIdentity()
Retrieves the value for the attribute identity.

Specified by:
getIdentity in interface ExtentCapable
Returns:
The non-null value for attribute identity.

getModifiedAt

public Date getModifiedAt()
Retrieves the value for the attribute modifiedAt.

Specified by:
getModifiedAt in interface Modifiable
Returns:
The non-null value for attribute modifiedAt.

getCreatedBy

public Set<String> getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy.

Specified by:
getCreatedBy in interface Creatable
Returns:
A set containing all elements for this attribute.

getDescription

public final String getDescription()
Retrieves the possibly null value for the optional attribute description.

Specified by:
getDescription in interface org.openmdx.security.realm1.cci2.Subject
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String description)
Sets a new value for the attribute description.

Specified by:
setDescription in interface org.openmdx.security.realm1.cci2.Subject
Parameters:
description - The possibly null new value for attribute description.

getModifiedBy

public Set<String> getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy.

Specified by:
getModifiedBy in interface Modifiable
Returns:
A set containing all elements for this attribute.

getCreatedAt

public Date getCreatedAt()
Retrieves the value for the attribute createdAt.

Specified by:
getCreatedAt in interface Creatable
Returns:
The non-null value for attribute createdAt.

getContext

public <T extends Context> Map<String,T> getContext()
Retrieves the Map of objects referenced by context.

Specified by:
getContext in interface ContextCapable
Returns:
The Map of referenced objects.

setSegment

public void setSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

setSegment_Id

public void setSegment_Id(String segment)


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