org.opencrx.kernel.product1.jdo2
Class AccountAssignmentProduct

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.product1.jdo2.AccountAssignmentProduct
All Implemented Interfaces:
Serializable, AccountAssignment, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, SubscriptionTarget, XmlExporter, CrxObject, AccountAssignmentProduct, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class AccountAssignmentProduct
extends org.w3c.jdo2.AbstractObject
implements AccountAssignmentProduct

Class AccountAssignmentProduct

See Also:
Serialized Form

Nested Class Summary
static class AccountAssignmentProduct.Identity
          The object's application identity
static class AccountAssignmentProduct.Slice
           
 
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>
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::opencrx::kernel::product1::AccountAssignmentProduct
 
Constructor Summary
AccountAssignmentProduct()
           
 
Method Summary
<T extends ModifySecureObjectResult>
T
addOwningGroup(PrincipalGroup group, short mode)
           
<T extends org.openmdx.base.cci2.Void>
T
addSubscription()
           
<T extends org.openmdx.base.cci2.Void>
T
addSubscriptionForParent()
           
<T extends CloneResult>
T
clone_(String referenceFilter)
           
<T extends ExportResult>
T
exportXml(String attributeFilter, String referenceFilter)
           
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
 Account getAccount()
          Retrieves the value for the reference account.
 short getAccountRole()
          Retrieves the value for the attribute accountRole.
<T extends AdditionalExternalLink>
Collection<T>
getAdditionalExternalLink()
          Retrieves a set containing all the elements for the reference additionalExternalLink.
<T extends DocumentAttachment>
Collection<T>
getAttachedDocument()
          Retrieves a set containing all the elements for the reference attachedDocument.
<T extends AuditEntry>
Collection<T>
getAudit()
          Retrieves a set containing all the elements for the reference audit.
 List<String> getCategory()
           
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
           
 String getDisabledReason()
           
 List<URI> getExternalLink()
           
 XRI getIdentity()
          Retrieves the value for the derived attribute identity.
<T extends IndexEntry>
Collection<T>
getIndexEntry()
          Retrieves a set containing all the elements for the reference indexEntry.
<T extends Media>
Collection<T>
getMedia()
          Retrieves a set containing all the elements for the reference media.
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
           
<T extends Note>
Collection<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
 List<String> getOwner()
           
<T extends PrincipalGroup>
List<T>
getOwningGroup()
          Retrieves the Collection of objects referenced by owningGroup.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
<T extends PropertySet>
Collection<T>
getPropertySet()
          Retrieves a set containing all the elements for the reference propertySet.
<T extends PropertySetEntry>
Collection<T>
getPropertySetEntry()
          Retrieves a set containing all the elements for the reference propertySetEntry.
<T extends Rating>
Collection<T>
getRating()
          Retrieves a set containing all the elements for the reference rating.
 List<Boolean> getUserBoolean4()
           
 Short getUserCode0()
           
 Short getUserCode1()
           
 Short getUserCode2()
           
 Short getUserCode3()
           
 List<Short> getUserCode4()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate0()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate1()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate2()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate3()
           
 List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
           
 Date getUserDateTime0()
           
 Date getUserDateTime1()
           
 Date getUserDateTime2()
           
 Date getUserDateTime3()
           
 List<Date> getUserDateTime4()
           
 BigDecimal getUserNumber0()
           
 BigDecimal getUserNumber1()
           
 BigDecimal getUserNumber2()
           
 BigDecimal getUserNumber3()
           
 List<BigDecimal> getUserNumber4()
           
 String getUserString0()
           
 String getUserString1()
           
 String getUserString2()
           
 String getUserString3()
           
 List<String> getUserString4()
           
 Date getValidFrom()
           
 Date getValidTo()
           
<T extends org.openmdx.compatibility.view1.cci2.View>
Collection<T>
getView()
          Retrieves a set containing all the elements for the reference view.
<T extends ImportResult>
T
importItem(byte[] item, String itemMimeType, String itemName, short locale)
           
 boolean isDisabled()
          Retrieves the value for the attribute disabled.
 Boolean isUserBoolean0()
           
 Boolean isUserBoolean1()
           
 Boolean isUserBoolean2()
           
 Boolean isUserBoolean3()
           
static AccountAssignmentProduct.Identity newIdentity(org.oasisopen.cci2.PersistentIdentity product, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  String openmdxjdoGetObjectId()
          Retrieve the object's JDO identity key
static CloseableCollection<AccountAssignmentProduct> openmdxjdoGetObjectsByParent(AbstractProduct product)
          Navigate through an object's composite association
protected  int openmdxjdoGetSize(int field)
           
protected
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
protected  void openmdxjdoSetSize(int field, int size)
           
<T extends ModifySecureObjectResult>
T
removeAllOwningGroup(short mode)
           
<T extends ModifySecureObjectResult>
T
removeOwningGroup(PrincipalGroup group, short mode)
           
<T extends org.openmdx.base.cci2.Void>
T
removeSubscription()
           
<T extends org.openmdx.base.cci2.Void>
T
removeSubscriptionForParent()
           
<T extends org.openmdx.base.cci2.Void>
T
sendAlert(String description, short importance, String name, org.openmdx.base.cci2.BasicObject reference, String toUsers)
           
<T extends ModifySecureObjectResult>
T
setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
 void setAccessLevelBrowse(short accessLevelBrowse)
          Sets a new value for the attribute accessLevelBrowse.
 void setAccessLevelDelete(short accessLevelDelete)
          Sets a new value for the attribute accessLevelDelete.
 void setAccessLevelUpdate(short accessLevelUpdate)
          Sets a new value for the attribute accessLevelUpdate.
 void setAccount(Account account)
          Sets a new value for the reference account.
 void setAccountRole(short accountRole)
          Sets a new value for the attribute accountRole.
 void setCategory(String... category)
           This method is equivalent to
 void setDisabled(boolean disabled)
          Sets a new value for the attribute disabled.
 void setDisabledReason(String disabledReason)
          Sets a new value for the attribute disabledReason.
 void setExternalLink(URI... externalLink)
           This method is equivalent to
<T extends ModifySecureObjectResult>
T
setOwningUser(short mode, User user)
           
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setProduct(AbstractProduct product)
          Sets a new value for the reference product.
 void setProduct(AbstractProduct product, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:product1:ProductHasAssignedAccount.
 void setUserBoolean0(Boolean userBoolean0)
          Sets a new value for the attribute userBoolean0.
 void setUserBoolean1(Boolean userBoolean1)
          Sets a new value for the attribute userBoolean1.
 void setUserBoolean2(Boolean userBoolean2)
          Sets a new value for the attribute userBoolean2.
 void setUserBoolean3(Boolean userBoolean3)
          Sets a new value for the attribute userBoolean3.
 void setUserBoolean4(boolean... userBoolean4)
           This method is equivalent to
 void setUserCode0(Short userCode0)
          Sets a new value for the attribute userCode0.
 void setUserCode1(Short userCode1)
          Sets a new value for the attribute userCode1.
 void setUserCode2(Short userCode2)
          Sets a new value for the attribute userCode2.
 void setUserCode3(Short userCode3)
          Sets a new value for the attribute userCode3.
 void setUserCode4(short... userCode4)
           This method is equivalent to
 void setUserDate0(javax.xml.datatype.XMLGregorianCalendar userDate0)
          Sets a new value for the attribute userDate0.
 void setUserDate1(javax.xml.datatype.XMLGregorianCalendar userDate1)
          Sets a new value for the attribute userDate1.
 void setUserDate2(javax.xml.datatype.XMLGregorianCalendar userDate2)
          Sets a new value for the attribute userDate2.
 void setUserDate3(javax.xml.datatype.XMLGregorianCalendar userDate3)
          Sets a new value for the attribute userDate3.
 void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)
           This method is equivalent to
 void setUserDateTime0(Date userDateTime0)
          Sets a new value for the attribute userDateTime0.
 void setUserDateTime1(Date userDateTime1)
          Sets a new value for the attribute userDateTime1.
 void setUserDateTime2(Date userDateTime2)
          Sets a new value for the attribute userDateTime2.
 void setUserDateTime3(Date userDateTime3)
          Sets a new value for the attribute userDateTime3.
 void setUserDateTime4(Date... userDateTime4)
           This method is equivalent to
 void setUserNumber0(BigDecimal userNumber0)
          Sets a new value for the attribute userNumber0.
 void setUserNumber1(BigDecimal userNumber1)
          Sets a new value for the attribute userNumber1.
 void setUserNumber2(BigDecimal userNumber2)
          Sets a new value for the attribute userNumber2.
 void setUserNumber3(BigDecimal userNumber3)
          Sets a new value for the attribute userNumber3.
 void setUserNumber4(BigDecimal... userNumber4)
           This method is equivalent to
 void setUserString0(String userString0)
          Sets a new value for the attribute userString0.
 void setUserString1(String userString1)
          Sets a new value for the attribute userString1.
 void setUserString2(String userString2)
          Sets a new value for the attribute userString2.
 void setUserString3(String userString3)
          Sets a new value for the attribute userString3.
 void setUserString4(String... userString4)
           This method is equivalent to
 void setValidFrom(Date validFrom)
          Sets a new value for the attribute validFrom.
 void setValidTo(Date validTo)
          Sets a new value for the attribute validTo.
<T extends org.openmdx.base.cci2.Void>
T
updateIndex()
           
 
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
 

Field Detail

CLASS

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


BASE_CLASS

public static final List<String> BASE_CLASS
Define this class as base class

See Also:
AccountAssignmentProduct.CLASS
Constructor Detail

AccountAssignmentProduct

public AccountAssignmentProduct()
Method Detail

openmdxjdoGetObjectId

protected String openmdxjdoGetObjectId()
Retrieve the object's JDO identity key

Specified by:
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiable
Returns:
the value of the object's JDO identity key

openmdxjdoGetSlices

protected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
Overrides:
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObject

getAccessLevelDelete

public short getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete.

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

setAccessLevelDelete

public void setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete.

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

exportXml

public <T extends ExportResult> T exportXml(String attributeFilter,
                                            String referenceFilter)
                                 throws RefException
Specified by:
exportXml in interface XmlExporter
Throws:
RefException

getUserString4

public final List<String> getUserString4()
Specified by:
getUserString4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserString4

public void setUserString4(String... userString4)

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserString4 in interface CrxObject
Parameters:
userString4 - value(s) to be added to userString4

getModifiedBy

public final Set<String> getModifiedBy()
Specified by:
getModifiedBy in interface org.openmdx.base.cci2.BasicObject
Returns:
A set containing all elements for this attribute.

getUserString0

public final String getUserString0()
Specified by:
getUserString0 in interface CrxObject
Returns:
The possibly null value for attribute userString0.

setUserString0

public void setUserString0(String userString0)
Sets a new value for the attribute userString0.

Specified by:
setUserString0 in interface CrxObject
Parameters:
userString0 - The possibly null new value for attribute userString0.

getUserString1

public final String getUserString1()
Specified by:
getUserString1 in interface CrxObject
Returns:
The possibly null value for attribute userString1.

setUserString1

public void setUserString1(String userString1)
Sets a new value for the attribute userString1.

Specified by:
setUserString1 in interface CrxObject
Parameters:
userString1 - The possibly null new value for attribute userString1.

getUserString2

public final String getUserString2()
Specified by:
getUserString2 in interface CrxObject
Returns:
The possibly null value for attribute userString2.

setUserString2

public void setUserString2(String userString2)
Sets a new value for the attribute userString2.

Specified by:
setUserString2 in interface CrxObject
Parameters:
userString2 - The possibly null new value for attribute userString2.

getUserString3

public final String getUserString3()
Specified by:
getUserString3 in interface CrxObject
Returns:
The possibly null value for attribute userString3.

setUserString3

public void setUserString3(String userString3)
Sets a new value for the attribute userString3.

Specified by:
setUserString3 in interface CrxObject
Parameters:
userString3 - The possibly null new value for attribute userString3.

getPropertySetEntry

public <T extends PropertySetEntry> Collection<T> getPropertySetEntry()
Retrieves a set containing all the elements for the reference propertySetEntry.

Specified by:
getPropertySetEntry in interface CrxObject
Returns:
A set containing all the elements for this reference.

getAccessLevelBrowse

public short getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse.

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

setAccessLevelBrowse

public void setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse.

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

addSubscriptionForParent

public <T extends org.openmdx.base.cci2.Void> T addSubscriptionForParent()
                                                              throws RefException
Specified by:
addSubscriptionForParent in interface SubscriptionTarget
Throws:
RefException

getValidTo

public final Date getValidTo()
Specified by:
getValidTo in interface AccountAssignment
Returns:
The possibly null value for attribute validTo.

setValidTo

public void setValidTo(Date validTo)
Sets a new value for the attribute validTo.

Specified by:
setValidTo in interface AccountAssignment
Parameters:
validTo - The possibly null new value for attribute validTo.

getAdditionalExternalLink

public <T extends AdditionalExternalLink> Collection<T> getAdditionalExternalLink()
Retrieves a set containing all the elements for the reference additionalExternalLink.

Specified by:
getAdditionalExternalLink in interface CrxObject
Returns:
A set containing all the elements for this reference.

removeAllOwningGroup

public <T extends ModifySecureObjectResult> T removeAllOwningGroup(short mode)
                                                        throws RefException
Specified by:
removeAllOwningGroup in interface SecureObject
Throws:
RefException

addSubscription

public <T extends org.openmdx.base.cci2.Void> T addSubscription()
                                                     throws RefException
Specified by:
addSubscription in interface SubscriptionTarget
Throws:
RefException

isUserBoolean0

public final Boolean isUserBoolean0()
Specified by:
isUserBoolean0 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean0.

setUserBoolean0

public void setUserBoolean0(Boolean userBoolean0)
Sets a new value for the attribute userBoolean0.

Specified by:
setUserBoolean0 in interface CrxObject
Parameters:
userBoolean0 - The possibly null new value for attribute userBoolean0.

getUserDateTime4

public final List<Date> getUserDateTime4()
Specified by:
getUserDateTime4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDateTime4

public void setUserDateTime4(Date... userDateTime4)

This method is equivalent to

   list.clear();
   for(java.util.Date e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserDateTime4 in interface CrxObject
Parameters:
userDateTime4 - value(s) to be added to userDateTime4

getUserDateTime2

public final Date getUserDateTime2()
Specified by:
getUserDateTime2 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime2.

setUserDateTime2

public void setUserDateTime2(Date userDateTime2)
Sets a new value for the attribute userDateTime2.

Specified by:
setUserDateTime2 in interface CrxObject
Parameters:
userDateTime2 - The possibly null new value for attribute userDateTime2.

getUserDateTime3

public final Date getUserDateTime3()
Specified by:
getUserDateTime3 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime3.

setUserDateTime3

public void setUserDateTime3(Date userDateTime3)
Sets a new value for the attribute userDateTime3.

Specified by:
setUserDateTime3 in interface CrxObject
Parameters:
userDateTime3 - The possibly null new value for attribute userDateTime3.

getUserBoolean4

public final List<Boolean> getUserBoolean4()
Specified by:
getUserBoolean4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserBoolean4

public void setUserBoolean4(boolean... userBoolean4)

This method is equivalent to

   list.clear();
   for(boolean e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserBoolean4 in interface CrxObject
Parameters:
userBoolean4 - value(s) to be added to userBoolean4

getUserDateTime0

public final Date getUserDateTime0()
Specified by:
getUserDateTime0 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime0.

setUserDateTime0

public void setUserDateTime0(Date userDateTime0)
Sets a new value for the attribute userDateTime0.

Specified by:
setUserDateTime0 in interface CrxObject
Parameters:
userDateTime0 - The possibly null new value for attribute userDateTime0.

setOwningUser

public <T extends ModifySecureObjectResult> T setOwningUser(short mode,
                                                            User user)
                                                 throws RefException
Specified by:
setOwningUser in inte