org.opencrx.kernel.base.jdo2
Class DateProperty

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.base.jdo2.Property
              extended by org.opencrx.kernel.base.jdo2.DateProperty
All Implemented Interfaces:
Serializable, DateProperty, Property, SecureObject, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class DateProperty
extends Property
implements DateProperty

Class DateProperty

See Also:
Serialized Form

Nested Class Summary
static class DateProperty.Slice
          Slice object hold the DateProperty's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.base.jdo2.Property
Property.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.base.cci2.Property
Property.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::base::DateProperty
 
Fields inherited from class org.opencrx.kernel.base.jdo2.Property
BASE_CLASS
 
Constructor Summary
DateProperty()
           
 
Method Summary
 XMLGregorianCalendar getDateValue()
          Retrieves the value for the attribute dateValue.
static Property.Identity newIdentity(Identity propertySet, QualifierType idType, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
static Property.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 void setDateValue(XMLGregorianCalendar dateValue)
          Sets a new value for the attribute dateValue.
 
Methods inherited from class org.opencrx.kernel.base.jdo2.Property
addOwningGroup, addToPropertySet, addToPropertySet, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getDescription, getDomain, getIdentity, getModifiedAt, getModifiedBy, getName, getOwner, getOwningGroup, getOwningUser, getView, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDescription, setDomain, setName, setOwningUser, setOwningUser
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Property
getDescription, getDomain, getName, setDescription, setDomain, setName
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::base::DateProperty

Constructor Detail

DateProperty

public DateProperty()
Method Detail

getDateValue

public XMLGregorianCalendar getDateValue()
Retrieves the value for the attribute dateValue.

Specified by:
getDateValue in interface DateProperty
Returns:
The non-null value for attribute dateValue.

setDateValue

public void setDateValue(XMLGregorianCalendar dateValue)
Sets a new value for the attribute dateValue.

Specified by:
setDateValue in interface DateProperty
Parameters:
dateValue - The non-null new value for attribute dateValue.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class Property

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class Property

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class Property

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class Property
Returns:
the model class
See Also:
DateProperty.CLASS

newIdentity

public static Property.Identity newIdentity(Identity propertySet,
                                            QualifierType idType,
                                            String id)

openmdxjdoToIdentity

public static Property.Identity openmdxjdoToIdentity(ObjectId objectId)


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