org.opencrx.kernel.activity1.jdo2
Class SmsRecipient

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.activity1.jdo2.AbstractSmsRecipient
              extended by org.opencrx.kernel.activity1.jdo2.SmsRecipient
All Implemented Interfaces:
Serializable, AbstractActivityParty, AbstractSmsRecipient, SmsRecipient, SecureObject, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class SmsRecipient
extends AbstractSmsRecipient
implements SmsRecipient

Class SmsRecipient

See Also:
Serialized Form

Nested Class Summary
static class SmsRecipient.Slice
          Slice object hold the SmsRecipient's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.activity1.jdo2.AbstractSmsRecipient
AbstractSmsRecipient.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.activity1.cci2.AbstractSmsRecipient
AbstractSmsRecipient.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::activity1::SmsRecipient
 
Fields inherited from class org.opencrx.kernel.activity1.jdo2.AbstractSmsRecipient
BASE_CLASS
 
Constructor Summary
SmsRecipient()
           
 
Method Summary
 PhoneNumber getParty()
          Retrieves the value for the reference party.
static AbstractSmsRecipient.Identity newIdentity(Activity.Identity sms, 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 AbstractSmsRecipient.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 void setParty(PhoneNumber party)
          Sets a new value for the reference party.
 
Methods inherited from class org.opencrx.kernel.activity1.jdo2.AbstractSmsRecipient
addOwningGroup, addToSms, addToSms, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getPartyType, getView, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser, setPartyType
 
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.activity1.cci2.AbstractActivityParty
getPartyType, setPartyType
 
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::activity1::SmsRecipient

Constructor Detail

SmsRecipient

public SmsRecipient()
Method Detail

getParty

public PhoneNumber getParty()
Retrieves the value for the reference party.

Specified by:
getParty in interface SmsRecipient
Returns:
The – possibly null – value for this reference.

setParty

public void setParty(PhoneNumber party)
Sets a new value for the reference party.

Specified by:
setParty in interface SmsRecipient
Parameters:
party - The non-null new value for this reference.

openmdxjdoGetSize

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

openmdxjdoSetSize

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

newSlice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class AbstractSmsRecipient
Returns:
the model class
See Also:
SmsRecipient.CLASS

newIdentity

public static AbstractSmsRecipient.Identity newIdentity(Activity.Identity sms,
                                                        boolean idIsPersistent,
                                                        String id)

openmdxjdoToIdentity

public static AbstractSmsRecipient.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.