org.opencrx.kernel.depot1.jdo2
Class PhoneNumber

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

public class PhoneNumber
extends DepotAddress
implements PhoneNumber

Class PhoneNumber

See Also:
Serialized Form

Nested Class Summary
static class PhoneNumber.Slice
           
 
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.BLOB, org.w3c.jdo2.AbstractObject.CLOB, 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::PhoneNumber
 
Fields inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
BASE_CLASS
 
Constructor Summary
PhoneNumber()
           
 
Method Summary
 String getPhoneCityArea()
           
 short getPhoneCountryPrefix()
          Retrieves the value for the attribute phoneCountryPrefix.
 String getPhoneExtension()
           
 String getPhoneLocalNumber()
           
 String getPhoneNumberFull()
           
 boolean isAutomaticParsing()
          Retrieves the value for the attribute automaticParsing.
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)
           
 void setAutomaticParsing(boolean automaticParsing)
          Sets a new value for the attribute automaticParsing.
 void setPhoneCityArea(String phoneCityArea)
          Sets a new value for the attribute phoneCityArea.
 void setPhoneCountryPrefix(short phoneCountryPrefix)
          Sets a new value for the attribute phoneCountryPrefix.
 void setPhoneExtension(String phoneExtension)
          Sets a new value for the attribute phoneExtension.
 void setPhoneLocalNumber(String phoneLocalNumber)
          Sets a new value for the attribute phoneLocalNumber.
 void setPhoneNumberFull(String phoneNumberFull)
          Sets a new value for the attribute phoneNumberFull.
 
Methods inherited from class org.opencrx.kernel.depot1.jdo2.DepotAddress
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getCreatedAt, getCreatedBy, getIdentity, getModifiedAt, getModifiedBy, getOwner, getOwningGroup, getOwningUser, getView, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setDepotHolder, setDepotHolder, 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
openmdxjdoGetIdentity, openmdxjdoGetIdentity, 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.depot1.cci2.DepotAddress
setDepotHolder, setDepotHolder
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, 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
 

Field Detail

CLASS

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

Constructor Detail

PhoneNumber

public PhoneNumber()
Method Detail

getPhoneLocalNumber

public final String getPhoneLocalNumber()
Specified by:
getPhoneLocalNumber in interface PhoneNumberAddressable
Returns:
The possibly null value for attribute phoneLocalNumber.

setPhoneLocalNumber

public void setPhoneLocalNumber(String phoneLocalNumber)
Sets a new value for the attribute phoneLocalNumber.

Specified by:
setPhoneLocalNumber in interface PhoneNumberAddressable
Parameters:
phoneLocalNumber - The possibly null new value for attribute phoneLocalNumber.

getPhoneExtension

public final String getPhoneExtension()
Specified by:
getPhoneExtension in interface PhoneNumberAddressable
Returns:
The possibly null value for attribute phoneExtension.

setPhoneExtension

public void setPhoneExtension(String phoneExtension)
Sets a new value for the attribute phoneExtension.

Specified by:
setPhoneExtension in interface PhoneNumberAddressable
Parameters:
phoneExtension - The possibly null new value for attribute phoneExtension.

getPhoneCountryPrefix

public short getPhoneCountryPrefix()
Retrieves the value for the attribute phoneCountryPrefix.

Specified by:
getPhoneCountryPrefix in interface PhoneNumberAddressable
Returns:
The non-null value for attribute phoneCountryPrefix.

setPhoneCountryPrefix

public void setPhoneCountryPrefix(short phoneCountryPrefix)
Sets a new value for the attribute phoneCountryPrefix.

Specified by:
setPhoneCountryPrefix in interface PhoneNumberAddressable
Parameters:
phoneCountryPrefix - The non-null new value for attribute phoneCountryPrefix.

getPhoneNumberFull

public final String getPhoneNumberFull()
Specified by:
getPhoneNumberFull in interface PhoneNumberAddressable
Returns:
The possibly null value for attribute phoneNumberFull.

setPhoneNumberFull

public void setPhoneNumberFull(String phoneNumberFull)
Sets a new value for the attribute phoneNumberFull.

Specified by:
setPhoneNumberFull in interface PhoneNumberAddressable
Parameters:
phoneNumberFull - The possibly null new value for attribute phoneNumberFull.

isAutomaticParsing

public boolean isAutomaticParsing()
Retrieves the value for the attribute automaticParsing.

Specified by:
isAutomaticParsing in interface PhoneNumberAddressable
Returns:
The non-null value for attribute automaticParsing.

setAutomaticParsing

public void setAutomaticParsing(boolean automaticParsing)
Sets a new value for the attribute automaticParsing.

Specified by:
setAutomaticParsing in interface PhoneNumberAddressable
Parameters:
automaticParsing - The non-null new value for attribute automaticParsing.

getPhoneCityArea

public final String getPhoneCityArea()
Specified by:
getPhoneCityArea in interface PhoneNumberAddressable
Returns:
The possibly null value for attribute phoneCityArea.

setPhoneCityArea

public void setPhoneCityArea(String phoneCityArea)
Sets a new value for the attribute phoneCityArea.

Specified by:
setPhoneCityArea in interface PhoneNumberAddressable
Parameters:
phoneCityArea - The possibly null new value for attribute phoneCityArea.

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

newIdentity

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


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