org.opencrx.kernel.base.jdo2
Class DateTimeProperty

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.DateTimeProperty
All Implemented Interfaces:
Serializable, DateTimeProperty, Property, SecureObject, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class DateTimeProperty
extends Property
implements DateTimeProperty

Class DateTimeProperty

See Also:
Serialized Form

Nested Class Summary
static class DateTimeProperty.Slice
          Slice object hold the DateTimeProperty'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::DateTimeProperty
 
Fields inherited from class org.opencrx.kernel.base.jdo2.Property
BASE_CLASS
 
Constructor Summary
DateTimeProperty()
           
 
Method Summary
 Date getDateTimeValue()
          Retrieves the value for the attribute dateTimeValue.
static Property.Identity newIdentity(org.oasisopen.cci2.Identity propertySet, boolean idIsPersistent, 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(org.oasisopen.spi2.ObjectId objectId)
           
 void setDateTimeValue(Date dateTimeValue)
          Sets a new value for the attribute dateTimeValue.
 
Methods inherited from class org.opencrx.kernel.base.jdo2.Property
addOwningGroup, addToPropertySet, addToPropertySet, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getCreatedAt, getCreatedBy, getDescription, getDomain, getIdentity, getModifiedAt, getModifiedBy, getName, getOwner, getOwningGroup, getOwningUser, getView, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDescription, setDomain, setName, setOwningUser, setOwningUser
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
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, 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.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 

Field Detail

CLASS

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

Constructor Detail

DateTimeProperty

public DateTimeProperty()
Method Detail

getDateTimeValue

public Date getDateTimeValue()
Retrieves the value for the attribute dateTimeValue.

Specified by:
getDateTimeValue in interface DateTimeProperty
Returns:
The non-null value for attribute dateTimeValue.

setDateTimeValue

public void setDateTimeValue(Date dateTimeValue)
Sets a new value for the attribute dateTimeValue.

Specified by:
setDateTimeValue in interface DateTimeProperty
Parameters:
dateTimeValue - The non-null new value for attribute dateTimeValue.

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:
DateTimeProperty.CLASS

newIdentity

public static Property.Identity newIdentity(org.oasisopen.cci2.Identity propertySet,
                                            boolean idIsPersistent,
                                            String id)

openmdxjdoToIdentity

public static Property.Identity openmdxjdoToIdentity(org.oasisopen.spi2.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.