org.opencrx.kernel.depot1.cci
Class PhoneNumberImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.depot1.cci.PhoneNumberImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, PhoneNumberAddressable, SecureObject, DepotAddress, PhoneNumber, RefObject_1_0, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class PhoneNumberImpl
extends RefObject_1
implements PhoneNumber

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
PhoneNumberImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
protected  void addContext(Context newValue)
           
protected  void addContext(String id, Context newValue)
           
 void addOwningGroup(int index, PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
           
 void addOwningGroup(PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
protected  void addView(String namespace, View newValue)
           
protected  void addView(View newValue)
           
 BasicObject getAccessGrantedByParent()
          Retrieves the value for the optional reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
protected  short getAccessLevelBrowse(int index)
           
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
protected  short getAccessLevelDelete(int index)
           
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
protected  short getAccessLevelUpdate(int index)
           
 Collection getContext()
          Retrieves the objects referenced by context.
 Context getContext(String id)
          Retrieves the value for the reference context for the specified qualifier attribute value.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
protected  Date getCreatedAt(int index)
           
 Set getCreatedBy()
           
 String getIdentity()
          Retrieves the value for the attribute identity.
protected  String getIdentity(int index)
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
protected  Date getModifiedAt(int index)
           
 Set getModifiedBy()
           
 List getOwner()
           
 String getOwner(int index)
           
 Collection getOwningGroup()
          Retrieves the objects referenced by owningGroup.
 PrincipalGroup getOwningGroup(int index)
          Retrieves the value for the reference owningGroup for the specified qualifier attribute value.
 User getOwningUser()
          Retrieves the value for the optional reference owningUser.
 String getPhoneCityArea()
           
 short getPhoneCountryPrefix()
          Retrieves the value for the attribute phoneCountryPrefix.
protected  short getPhoneCountryPrefix(int index)
           
 String getPhoneExtension()
           
 String getPhoneLocalNumber()
           
 String getPhoneNumberFull()
           
 Collection getView()
          Retrieves a collection containing all the elements for the reference view.
 View getView(String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
 List getView(ViewFilter filter)
          Retrieves the value for the reference view for the specified filter.
 List getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 boolean isAutomaticParsing()
          Retrieves the value for the attribute automaticParsing.
protected  boolean isAutomaticParsing(int index)
           
protected  void removeAccessGrantedByParent()
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
protected  void removeContext(String id)
           
 void removeOwningGroup(int index)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
protected  void removeView(String namespace)
           
protected  void setAccessGrantedByParent(BasicObject newValue)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
protected  void setAccessLevelBrowse(int index, short newValue)
           
 void setAccessLevelBrowse(short newValue)
          Sets a new value for the attribute accessLevelBrowse.
protected  void setAccessLevelDelete(int index, short newValue)
           
 void setAccessLevelDelete(short newValue)
          Sets a new value for the attribute accessLevelDelete.
protected  void setAccessLevelUpdate(int index, short newValue)
           
 void setAccessLevelUpdate(short newValue)
          Sets a new value for the attribute accessLevelUpdate.
 void setAutomaticParsing(boolean newValue)
          Sets a new value for the attribute automaticParsing.
protected  void setAutomaticParsing(int index, boolean newValue)
           
protected  void setContext(Context[] newValue)
           
protected  void setContext(List newValue)
           
protected  void setCreatedAt(Date newValue)
           
protected  void setCreatedAt(int index, Date newValue)
           
protected  void setCreatedBy(Set newValue)
           
protected  void setCreatedBy(String[] newValue)
           
protected  void setIdentity(int index, String newValue)
           
protected  void setIdentity(String newValue)
           
protected  void setModifiedAt(Date newValue)
           
protected  void setModifiedAt(int index, Date newValue)
           
protected  void setModifiedBy(Set newValue)
           
protected  void setModifiedBy(String[] newValue)
           
protected  void setOwner(List newValue)
           
protected  void setOwner(String[] newValue)
           
 void setOwningGroup(List newValue)
           
 void setOwningGroup(PrincipalGroup[] newValue)
           
 ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
           
 ModifySecureObjectResult setOwningUser(short mode, User user)
           
 void setOwningUser(User newValue)
          Sets a new value for the reference owningUser.
 void setPhoneCityArea(String newValue)
          Sets a new value for the attribute phoneCityArea.
protected  void setPhoneCountryPrefix(int index, short newValue)
           
 void setPhoneCountryPrefix(short newValue)
          Sets a new value for the attribute phoneCountryPrefix.
 void setPhoneExtension(String newValue)
          Sets a new value for the attribute phoneExtension.
 void setPhoneLocalNumber(String newValue)
          Sets a new value for the attribute phoneLocalNumber.
 void setPhoneNumberFull(String newValue)
          Sets a new value for the attribute phoneNumberFull.
protected  void setView(List newValue)
           
protected  void setView(View[] newValue)
           
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefObject_1
equals, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, refAddEventListener, refAddToUnitOfWork, refAddValue, refAddValue, refAddValue, refClass, refContext, refDefaultFetchGroup, refDelegate, refDelete, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refImmediateComposite, refImmediatePackage, refInitialize, refInitialize, refInvokeOperation, refInvokeOperation, refIsDeleted, refIsDirty, refIsInstanceOf, refIsNew, refIsPersistent, refIsWriteProtected, refMetaObject, refMofId, refOutermostComposite, refOutermostPackage, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refRemoveValue, refRemoveValue, refSetValue, refSetValue, refSetValue, refSetValue, refVerifyConstraints, refWriteProtect, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Constructor Detail

PhoneNumberImpl

public PhoneNumberImpl(Object_1_0 object,
                       RefClass refClass)
Method Detail

isAutomaticParsing

public boolean isAutomaticParsing()
Description copied from interface: PhoneNumberAddressable
Retrieves the value for the attribute automaticParsing.

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

isAutomaticParsing

protected boolean isAutomaticParsing(int index)

setAutomaticParsing

public void setAutomaticParsing(boolean newValue)
Description copied from interface: PhoneNumberAddressable
Sets a new value for the attribute automaticParsing.

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

setAutomaticParsing

protected void setAutomaticParsing(int index,
                                   boolean newValue)

getPhoneCityArea

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

setPhoneCityArea

public void setPhoneCityArea(String newValue)
Description copied from interface: PhoneNumberAddressable
Sets a new value for the attribute phoneCityArea.

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

getPhoneCountryPrefix

public short getPhoneCountryPrefix()
Description copied from interface: PhoneNumberAddressable
Retrieves the value for the attribute phoneCountryPrefix.

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

getPhoneCountryPrefix

protected short getPhoneCountryPrefix(int index)

setPhoneCountryPrefix

public void setPhoneCountryPrefix(short newValue)
Description copied from interface: PhoneNumberAddressable
Sets a new value for the attribute phoneCountryPrefix.

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

setPhoneCountryPrefix

protected void setPhoneCountryPrefix(int index,
                                     short newValue)

getPhoneExtension

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

setPhoneExtension

public void setPhoneExtension(String newValue)
Description copied from interface: PhoneNumberAddressable
Sets a new value for the attribute phoneExtension.

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

getPhoneLocalNumber

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

setPhoneLocalNumber

public void setPhoneLocalNumber(String newValue)
Description copied from interface: PhoneNumberAddressable
Sets a new value for the attribute phoneLocalNumber.

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

getPhoneNumberFull

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

setPhoneNumberFull

public void setPhoneNumberFull(String newValue)
Description copied from interface: PhoneNumberAddressable
Sets a new value for the attribute phoneNumberFull.

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

getAccessGrantedByParent

public BasicObject getAccessGrantedByParent()
Description copied from interface: SecureObject
Retrieves the value for the optional reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The possibly null value for this reference.

setAccessGrantedByParent

protected void setAccessGrantedByParent(BasicObject newValue)

removeAccessGrantedByParent

protected void removeAccessGrantedByParent()

getAccessLevelBrowse

public short getAccessLevelBrowse()
Description copied from interface: SecureObject
Retrieves the value for the attribute accessLevelBrowse.

Specified by:
getAccessLevelBrowse in interface SecureObject
Returns:
The non-null value for attribute accessLevelBrowse.

getAccessLevelBrowse

protected short getAccessLevelBrowse(int index)

setAccessLevelBrowse

public void setAccessLevelBrowse(short newValue)
Description copied from interface: SecureObject
Sets a new value for the attribute accessLevelBrowse.

Specified by:
setAccessLevelBrowse in interface SecureObject
Parameters:
newValue - The non-null new value for attribute accessLevelBrowse.

setAccessLevelBrowse

protected void setAccessLevelBrowse(int index,
                                    short newValue)

getAccessLevelDelete

public short getAccessLevelDelete()
Description copied from interface: SecureObject
Retrieves the value for the attribute accessLevelDelete.

Specified by:
getAccessLevelDelete in interface SecureObject
Returns:
The non-null value for attribute accessLevelDelete.

getAccessLevelDelete

protected short getAccessLevelDelete(int index)

setAccessLevelDelete

public void setAccessLevelDelete(short newValue)
Description copied from interface: SecureObject
Sets a new value for the attribute accessLevelDelete.

Specified by:
setAccessLevelDelete in interface SecureObject
Parameters:
newValue - The non-null new value for attribute accessLevelDelete.

setAccessLevelDelete

protected void setAccessLevelDelete(int index,
                                    short newValue)

getAccessLevelUpdate

public short getAccessLevelUpdate()
Description copied from interface: SecureObject
Retrieves the value for the attribute accessLevelUpdate.

Specified by:
getAccessLevelUpdate in interface SecureObject
Returns:
The non-null value for attribute accessLevelUpdate.

getAccessLevelUpdate

protected short getAccessLevelUpdate(int index)

setAccessLevelUpdate

public void setAccessLevelUpdate(short newValue)
Description copied from interface: SecureObject
Sets a new value for the attribute accessLevelUpdate.

Specified by:
setAccessLevelUpdate in interface SecureObject
Parameters:
newValue - The non-null new value for attribute accessLevelUpdate.

setAccessLevelUpdate

protected void setAccessLevelUpdate(int index,
                                    short newValue)

addOwningGroup

public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
                                        throws RefException
Specified by:
addOwningGroup in interface SecureObject
Throws:
RefException

addOwningGroup

public ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
                                               short mode)
                                        throws RefException
Specified by:
addOwningGroup in interface SecureObject
Throws:
RefException

getOwner

public List getOwner()
Specified by:
getOwner in interface SecureObject
Returns:
A list containing all elements for this attribute.

getOwner

public String getOwner(int index)
Specified by:
getOwner in interface SecureObject
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this attribute.

setOwner

protected void setOwner(List newValue)

setOwner

protected void setOwner(String[] newValue)

setOwningGroup

public void setOwningGroup(List newValue)

setOwningGroup

public void setOwningGroup(PrincipalGroup[] newValue)

getOwningGroup

public PrincipalGroup getOwningGroup(int index)
Description copied from interface: SecureObject
Retrieves the value for the reference owningGroup for the specified qualifier attribute value.

Specified by:
getOwningGroup in interface SecureObject
Parameters:
index - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getOwningGroup

public Collection getOwningGroup()
Description copied from interface: SecureObject
Retrieves the objects referenced by owningGroup.

Specified by:
getOwningGroup in interface SecureObject
Returns:
The collection of referenced objects.

addOwningGroup

public void addOwningGroup(int index,
                           PrincipalGroup newValue)
Specified by:
addOwningGroup in interface SecureObject
Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addOwningGroup

public void addOwningGroup(PrincipalGroup newValue)
Specified by:
addOwningGroup in interface SecureObject
Parameters:
newValue - The element to be appended.

removeOwningGroup

public void removeOwningGroup(int index)
Specified by:
removeOwningGroup in interface SecureObject

getOwningUser

public User getOwningUser()
Description copied from interface: SecureObject
Retrieves the value for the optional reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The possibly null value for this reference.

setOwningUser

public void setOwningUser(User newValue)
Description copied from interface: SecureObject
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
newValue - The non-null new value for this reference.

removeOwningUser

public void removeOwningUser()
Description copied from interface: SecureObject
Removes the value for the optional reference owningUser.

Specified by:
removeOwnin