org.opencrx.kernel.activity1.jdo2
Class MailingRecipient

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.activity1.jdo2.AbstractMailingRecipient
              extended by org.opencrx.kernel.activity1.jdo2.MailingRecipient
All Implemented Interfaces:
Serializable, AbstractActivityParty, AbstractMailingRecipient, MailingRecipient, SecureObject, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class MailingRecipient
extends AbstractMailingRecipient
implements MailingRecipient

Class MailingRecipient

See Also:
Serialized Form

Nested Class Summary
static class MailingRecipient.Slice
          Slice object hold the MailingRecipient's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.activity1.jdo2.AbstractMailingRecipient
AbstractMailingRecipient.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.AbstractMailingRecipient
AbstractMailingRecipient.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::activity1::MailingRecipient
 
Fields inherited from class org.opencrx.kernel.activity1.jdo2.AbstractMailingRecipient
BASE_CLASS
 
Constructor Summary
MailingRecipient()
           
 
Method Summary
 PostalAddress getParty()
          Retrieves the value for the reference party.
static AbstractMailingRecipient.Identity newIdentity(Activity.Identity mailing, 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 AbstractMailingRecipient.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 void setParty(PostalAddress party)
          Sets a new value for the reference party.
 
Methods inherited from class org.opencrx.kernel.activity1.jdo2.AbstractMailingRecipient
addOwningGroup, addToMailing, addToMailing, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getContext, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getPartyType, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser, setPartyType
 
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.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, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Field Detail

CLASS

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

Constructor Detail

MailingRecipient

public MailingRecipient()
Method Detail

getParty

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

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

setParty

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

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

openmdxjdoGetSize

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

openmdxjdoSetSize

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

newSlice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class AbstractMailingRecipient
Returns:
the model class
See Also:
MailingRecipient.CLASS

newIdentity

public static AbstractMailingRecipient.Identity newIdentity(Activity.Identity mailing,
                                                            QualifierType idType,
                                                            String id)

openmdxjdoToIdentity

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