org.opencrx.kernel.depot1.jdo2
Class EmailAddress

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.depot1.jdo2.DepotAddress
              extended by org.opencrx.kernel.depot1.jdo2.EmailAddress
All Implemented Interfaces:
Serializable, EmailAddressable, SecureObject, DepotAddress, EmailAddress, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class EmailAddress
extends DepotAddress
implements EmailAddress

Class EMailAddress

See Also:
Serialized Form

Nested Class Summary
static class EmailAddress.Slice
          Slice object hold the EMailAddress's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
DepotAddress.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.depot1.cci2.DepotAddress
DepotAddress.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::depot1::EMailAddress
 
Fields inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
BASE_CLASS
 
Constructor Summary
EmailAddress()
           
 
Method Summary
 String getEmailAddress()
          Retrieves the possibly null value for the optional attribute emailAddress.
 short getEmailFormat()
          Retrieves the value for the attribute emailFormat.
 short getEmailType()
          Retrieves the value for the attribute emailType.
static DepotAddress.Identity newIdentity(DepotHolder.Identity depotHolder, 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 DepotAddress.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 void setEmailAddress(String emailAddress)
          Sets a new value for the attribute emailAddress.
 void setEmailFormat(short emailFormat)
          Sets a new value for the attribute emailFormat.
 void setEmailType(short emailType)
          Sets a new value for the attribute emailType.
 
Methods inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
addOwningGroup, addToDepotHolder, addToDepotHolder, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getView, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, 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.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::depot1::EMailAddress

Constructor Detail

EmailAddress

public EmailAddress()
Method Detail

getEmailAddress

public final String getEmailAddress()
Retrieves the possibly null value for the optional attribute emailAddress.

Specified by:
getEmailAddress in interface EmailAddressable
Returns:
The possibly null value for attribute emailAddress.

setEmailAddress

public void setEmailAddress(String emailAddress)
Sets a new value for the attribute emailAddress.

Specified by:
setEmailAddress in interface EmailAddressable
Parameters:
emailAddress - The possibly null new value for attribute emailAddress.

getEmailFormat

public short getEmailFormat()
Retrieves the value for the attribute emailFormat.

Specified by:
getEmailFormat in interface EmailAddressable
Returns:
The non-null value for attribute emailFormat.

setEmailFormat

public void setEmailFormat(short emailFormat)
Sets a new value for the attribute emailFormat.

Specified by:
setEmailFormat in interface EmailAddressable
Parameters:
emailFormat - The non-null new value for attribute emailFormat.

getEmailType

public short getEmailType()
Retrieves the value for the attribute emailType.

Specified by:
getEmailType in interface EmailAddressable
Returns:
The non-null value for attribute emailType.

setEmailType

public void setEmailType(short emailType)
Sets a new value for the attribute emailType.

Specified by:
setEmailType in interface EmailAddressable
Parameters:
emailType - The non-null new value for attribute emailType.

openmdxjdoGetSize

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

openmdxjdoSetSize

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

newSlice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class DepotAddress
Returns:
the model class
See Also:
EmailAddress.CLASS

newIdentity

public static DepotAddress.Identity newIdentity(DepotHolder.Identity depotHolder,
                                                boolean idIsPersistent,
                                                String id)

openmdxjdoToIdentity

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