org.opencrx.kernel.contract1.jdo2
Class PhoneNumber

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.contract1.jdo2.ContractAddress
              extended by org.opencrx.kernel.contract1.jdo2.PhoneNumber
All Implemented Interfaces:
Serializable, Addressable, PhoneNumberAddressable, AlertSender, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, ContractAddress, PhoneNumber, CrxObject, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class PhoneNumber
extends ContractAddress
implements PhoneNumber

Class PhoneNumber

See Also:
Serialized Form

Nested Class Summary
static class PhoneNumber.Slice
          Slice object hold the PhoneNumber's multivalued attributes
 
Nested classes/interfaces inherited from class org.opencrx.kernel.contract1.jdo2.ContractAddress
ContractAddress.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.contract1.cci2.ContractAddress
ContractAddress.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::contract1::PhoneNumber
 
Fields inherited from class org.opencrx.kernel.contract1.jdo2.ContractAddress
BASE_CLASS
 
Constructor Summary
PhoneNumber()
           
 
Method Summary
 String getPhoneCityArea()
          Retrieves the possibly null value for the optional attribute phoneCityArea.
 short getPhoneCountryPrefix()
          Retrieves the value for the attribute phoneCountryPrefix.
 String getPhoneExtension()
          Retrieves the possibly null value for the optional attribute phoneExtension.
 String getPhoneLocalNumber()
          Retrieves the possibly null value for the optional attribute phoneLocalNumber.
 String getPhoneNumberFull()
          Retrieves the possibly null value for the optional attribute phoneNumberFull.
 boolean isAutomaticParsing()
          Retrieves the value for the attribute automaticParsing.
static ContractAddress.Identity newIdentity(Identity addressContainer, 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 ContractAddress.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 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.contract1.jdo2.ContractAddress
addOwningGroup, addToAddressContainer, addToAddressContainer, checkPermissions, clone_, exportItem, exportItemAdvanced, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAdditionalExternalLink, getAttachedDocument, getAudit, getBuilding, getCategory, getContext, getCreatedAt, getCreatedBy, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getIdentity, getIndexEntry, getMedia, getModifiedAt, getModifiedBy, getNote, getOwner, getOwningGroup, getOwningUser, getPropertySet, getPropertySetEntry, getRating, getUsage, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, getView, importItem, isDisabled, isMain, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, sendAlert, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setBuilding, setCategory, setDisabled, setDisabledReason, setExternalLink, setMain, setOwningUser, setOwningUser, setUsage, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4, updateIndex
 
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.address1.cci2.Addressable
getBuilding, getUsage, isMain, setBuilding, setMain, setUsage
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
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.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
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::contract1::PhoneNumber

Constructor Detail

PhoneNumber

public PhoneNumber()
Method Detail

getPhoneLocalNumber

public final String getPhoneLocalNumber()
Retrieves the possibly null value for the optional attribute phoneLocalNumber.

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.

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.

getPhoneExtension

public final String getPhoneExtension()
Retrieves the possibly null value for the optional attribute phoneExtension.

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()
Retrieves the possibly null value for the optional attribute phoneNumberFull.

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.

getPhoneCityArea

public final String getPhoneCityArea()
Retrieves the possibly null value for the optional attribute phoneCityArea.

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 ContractAddress

openmdxjdoSetSize

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

newSlice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class ContractAddress
Returns:
the model class
See Also:
PhoneNumber.CLASS

newIdentity

public static ContractAddress.Identity newIdentity(Identity addressContainer,
                                                   QualifierType idType,
                                                   String id)

openmdxjdoToIdentity

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