org.opencrx.kernel.product1.jdo2
Class AbstractProductBundle

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.product1.jdo2.AbstractProductBundle
All Implemented Interfaces:
Serializable, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, SubscriptionTarget, XmlExporter, DepotReferenceHolder, CrxObject, AbstractProduct, AbstractProductBundle, AddressContainer, ContractPositionConstrained, PriceOverrideEnabled, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
Direct Known Subclasses:
ComplexProductBundle, ProductBundle

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

Abstract class AbstractProductBundle

See Also:
Serialized Form

Nested Class Summary
static class AbstractProductBundle.Identity
          The object's application identity
static class AbstractProductBundle.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::AbstractProductBundle
 
Constructor Summary
AbstractProductBundle()
           
 
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 org.openmdx.base.cci2.Void>
T
changeOrder(int newOrder)
           
<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.
<T extends AdditionalExternalLink>
Collection<T>
getAdditionalExternalLink()
          Retrieves a set containing all the elements for the reference additionalExternalLink.
<T extends ProductAddress>
Collection<T>
getAddress()
          Retrieves a set containing all the elements for the reference address.
 List<String> getAlternateProductNumber()
           
<T extends AccountAssignmentProduct>
Collection<T>
getAssignedAccount()
          Retrieves a set containing all the elements for the reference assignedAccount.
<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.
<T extends ProductBasePrice>
Collection<T>
getBasePrice()
          Retrieves a set containing all the elements for the reference basePrice.
 List<String> getCategory()
           
<T extends ProductClassification>
List<T>
getClassification()
          Retrieves the Collection of objects referenced by classification.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
           
 Integer getDefaultPositions()
           
 PriceLevel getDefaultPriceLevel()
          Retrieves the value for the reference defaultPriceLevel.
 BigDecimal getDefaultQuantity()
           
 Uom getDefaultUom()
          Retrieves the value for the reference defaultUom.
<T extends DepotReference>
Collection<T>
getDepotReference()
          Retrieves a set containing all the elements for the reference depotReference.
 String getDescription()
           
 String getDetailedDescription()
           
 String getDisabledReason()
           
 BigDecimal getDiscount()
           
 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.
 long getItemNumber()
          Retrieves the value for the attribute itemNumber.
 Integer getMaxPositions()
           
 BigDecimal getMaxQuantity()
           
<T extends Media>
Collection<T>
getMedia()
          Retrieves a set containing all the elements for the reference media.
 short getMinMaxQuantityHandling()
          Retrieves the value for the attribute minMaxQuantityHandling.
 Integer getMinPositions()
           
 BigDecimal getMinQuantity()
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
           
 String getName()
          Retrieves the value for the attribute name.
<T extends Note>
Collection<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
 BigDecimal getOffsetQuantity()
           
 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.
 ComplexProductBundle getParent()
          Retrieves the value for the reference parent.
<T extends Uom>
List<T>
getPriceUom()
          Retrieves the Collection of objects referenced by priceUom.
 PricingRule getPricingRule()
          Retrieves the value for the reference pricingRule.
 String getProductNumber()
          Retrieves the value for the attribute productNumber.
 short getProductState()
          Retrieves the value for the attribute productState.
 ActivityTracker getProductUsage()
          Retrieves the value for the reference productUsage.
<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.
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 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()
           
<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 isAllowModification()
           
 Boolean isAllowRemoval()
           
 boolean isDisabled()
          Retrieves the value for the attribute disabled.
 Boolean isDiscountIsPercentage()
           
 Boolean isOverridePrice()
           
 Boolean isUserBoolean0()
           
 Boolean isUserBoolean1()
           
 Boolean isUserBoolean2()
           
 Boolean isUserBoolean3()
           
static AbstractProductBundle.Identity newIdentity(org.oasisopen.cci2.PersistentIdentity bundleContainer, 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<AbstractProductBundle> openmdxjdoGetObjectsByParent(ProductBundleContainer bundleContainer)
          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 setAllowModification(Boolean allowModification)
          Sets a new value for the attribute allowModification.
 void setAllowRemoval(Boolean allowRemoval)
          Sets a new value for the attribute allowRemoval.
 void setAlternateProductNumber(String... alternateProductNumber)
           This method is equivalent to
 void setBundleContainer(ProductBundleContainer bundleContainer)
          Sets a new value for the reference bundleContainer.
 void setBundleContainer(ProductBundleContainer bundleContainer, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:product1:BundleContainerContainsBundle.
 void setCategory(String... category)
           This method is equivalent to
 void setDefaultPositions(Integer defaultPositions)
          Sets a new value for the attribute defaultPositions.
 void setDefaultPriceLevel(PriceLevel defaultPriceLevel)
          Sets a new value for the reference defaultPriceLevel.
 void setDefaultQuantity(BigDecimal defaultQuantity)
          Sets a new value for the attribute defaultQuantity.
 void setDefaultUom(Uom defaultUom)
          Sets a new value for the reference defaultUom.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDetailedDescription(String detailedDescription)
          Sets a new value for the attribute detailedDescription.
 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 setDiscount(BigDecimal discount)
          Sets a new value for the attribute discount.
 void setDiscountIsPercentage(Boolean discountIsPercentage)
          Sets a new value for the attribute discountIsPercentage.
 void setExternalLink(URI... externalLink)
           This method is equivalent to
 void setItemNumber(long itemNumber)
          Sets a new value for the attribute itemNumber.
 void setMaxPositions(Integer maxPositions)
          Sets a new value for the attribute maxPositions.
 void setMaxQuantity(BigDecimal maxQuantity)
          Sets a new value for the attribute maxQuantity.
 void setMinMaxQuantityHandling(short minMaxQuantityHandling)
          Sets a new value for the attribute minMaxQuantityHandling.
 void setMinPositions(Integer minPositions)
          Sets a new value for the attribute minPositions.
 void setMinQuantity(BigDecimal minQuantity)
          Sets a new value for the attribute minQuantity.
 void setName(String name)
          Sets a new value for the attribute name.
 void setOffsetQuantity(BigDecimal offsetQuantity)
          Sets a new value for the attribute offsetQuantity.
 void setOverridePrice(Boolean overridePrice)
          Sets a new value for the attribute overridePrice.
<T extends ModifySecureObjectResult>
T
setOwningUser(short mode, User user)
           
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setParent(ComplexProductBundle parent)
          Sets a new value for the reference parent.
 void setPricingRule(PricingRule pricingRule)
          Sets a new value for the reference pricingRule.
 void setProductNumber(String productNumber)
          Sets a new value for the attribute productNumber.
 void setProductState(short productState)
          Sets a new value for the attribute productState.
 void setProductUsage(ActivityTracker productUsage)
          Sets a new value for the reference productUsage.
 void setSalesTaxType(SalesTaxType salesTaxType)
          Sets a new value for the reference salesTaxType.
 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
<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::AbstractProductBundle


BASE_CLASS

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

See Also:
AbstractProductBundle.CLASS
Constructor Detail

AbstractProductBundle

public AbstractProductBundle()
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.

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.

getDetailedDescription

public final String getDetailedDescription()
Specified by:
getDetailedDescription in interface AbstractProduct
Returns:
The possibly null value for attribute detailedDescription.

setDetailedDescription

public void setDetailedDescription(String detailedDescription)
Sets a new value for the attribute detailedDescription.

Specified by:
setDetailedDescription in interface AbstractProduct
Parameters:
detailedDescription - The possibly null new value for attribute detailedDescription.

getPricingRule

public PricingRule getPricingRule()
Retrieves the value for the reference pricingRule.

Specified by:
getPricingRule in interface PriceOverrideEnabled
Returns:
The – possibly null – value for this reference.

setPricingRule

public void setPricingRule(PricingRule pricingRule)
Sets a new value for the reference pricingRule.

Specified by:
setPricingRule in interface PriceOverrideEnabled
Parameters:
pricingRule - The non-null new value for this reference.

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.

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

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

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.

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.

setOwningUser

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

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.

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

getUserDateTime1

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

setUserDateTime1

public void setUserDateTime1(Date userDateTime1)
Sets a new value for the attribute userDateTime1.

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

isUserBoolean3

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

setUserBoolean3

public void setUserBoolean3(Boolean userBoolean3)
Sets a new value for the attribute userBoolean3.

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

isUserBoolean2

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

setUserBoolean2

public void setUserBoolean2(Boolean userBoolean2)
Sets a new value for the attribute userBoolean2.

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

getOwningGroup

public <T extends PrincipalGroup> List<T> getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup.

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

isUserBoolean1

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

setUserBoolean1

public void setUserBoolean1(Boolean userBoolean1)
Sets a new value for the attribute userBoolean1.

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

addOwningGroup

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

clone_

public <T extends CloneResult> T clone_(String referenceFilter)
                             throws RefException
Specified by:
clone_ in interface Cloneable
Throws:
RefException

getUserDate0

public final javax.xml.datatype.XMLGregorianCalendar getUserDate0()
Specified by:
getUserDate0 in interface CrxObject
Returns:
The possibly null value for attribute userDate0.

setUserDate0

public void setUserDate0(javax.xml.datatype.XMLGregorianCalendar userDate0)
Sets a new value for the attribute userDate0.

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

getOffsetQuantity

public final BigDecimal getOffsetQuantity()
Specified by:
getOffsetQuantity in interface ContractPositionConstrained
Returns:
The possibly null value for attribute offsetQuantity.

setOffsetQuantity

public void setOffsetQuantity(BigDecimal offsetQuantity)
Sets a new value for the attribute offsetQuantity.

Specified by:
setOffsetQuantity in interface ContractPositionConstrained
Parameters:
offsetQuantity - The possibly null new value for attribute offsetQuantity.

getParent

public ComplexProductBundle getParent()
Retrieves the value for the reference parent.

Specified by:
getParent in interface AbstractProductBundle
Returns:
The – possibly null – value for this reference.

setParent

public void setParent(ComplexProductBundle parent)
Sets a new value for the reference parent.

Specified by:
setParent in interface AbstractProductBundle
Parameters:
parent - The non-null new value for this reference.

getUserDate3

public final javax.xml.datatype.XMLGregorianCalendar getUserDate3()
Specified by:
getUserDate3 in interface CrxObject
Returns:
The possibly null value for attribute userDate3.

setUserDate3

public void setUserDate3(javax.xml.datatype.XMLGregorianCalendar userDate3)
Sets a new value for the attribute userDate3.

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

getUserDate4

public final List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
Specified by:
getUserDate4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDate4

public void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)

This method is equivalent to

   list.clear();
   for(javax.xml.datatype.XMLGregorianCalendar e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserDate4 in interface CrxObject
Parameters:
userDate4 - value(s) to be added to userDate4

getUserDate1

public final javax.xml.datatype.XMLGregorianCalendar getUserDate1()
Specified by:
getUserDate1 in interface CrxObject
Returns:
The possibly null value for attribute userDate1.

setUserDate1

public void setUserDate1(javax.xml.datatype.XMLGregorianCalendar userDate1)
Sets a new value for the attribute userDate1.

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

getUserDate2

public final javax.xml.datatype.XMLGregorianCalendar getUserDate2()
Specified by:
getUserDate2 in interface CrxObject
Returns:
The possibly null value for attribute userDate2.

setUserDate2

public void setUserDate2(javax.xml.datatype.XMLGregorianCalendar userDate2)
Sets a new value for the attribute userDate2.

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

getDiscount

public final BigDecimal getDiscount()
Specified by:
getDiscount in interface PriceOverrideEnabled
Returns:
The possibly null value for attribute discount.

setDiscount

public void setDiscount(BigDecimal discount)
Sets a new value for the attribute discount.

Specified by:
setDiscount in interface PriceOverrideEnabled
Parameters:
discount - The possibly null new value for attribute discount.

getCategory

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

setCategory

public void setCategory(String... category)

This method is equivalent to

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

Specified by:
setCategory in interface CrxObject
Parameters:
category - value(s) to be added to category

getCreatedBy

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

setAccessLevel

public <T extends ModifySecureObjectResult> T setAccessLevel(short accessLevelBrowse,
                                                             short accessLevelDelete,
                                                             short accessLevelUpdate,
                                                             short mode)
                                                  throws RefException
Specified by:
setAccessLevel in interface SecureObject
Throws:
RefException

getDepotReference

public <T extends DepotReference> Collection<T> getDepotReference()
Retrieves a set containing all the elements for the reference depotReference.

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

getIndexEntry

public <T extends IndexEntry> Collection<T> getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry.

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

getView

public <T extends org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
Retrieves a set containing all the elements for the reference view.

Specified by:
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapable
Returns:
A set containing all the elements for this reference.

getOwningUser

public User getOwningUser()
Retrieves the value for the reference owningUser.

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

setOwningUser

public void setOwningUser(User owningUser)
Sets a new value for the reference owningUser.

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

getExternalLink

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

setExternalLink

public void setExternalLink(URI... externalLink)

This method is equivalent to

   list.clear();
   for(java.net.URI e : attributeName){
     list.add(e);
   }
 

Specified by:
setExternalLink in interface CrxObject
Parameters:
externalLink - value(s) to be added to externalLink

getDefaultPositions

public final Integer getDefaultPositions()
Specified by:
getDefaultPositions in interface ContractPositionConstrained
Returns:
The possibly null value for attribute defaultPositions.

setDefaultPositions

public void setDefaultPositions(Integer defaultPositions)
Sets a new value for the attribute defaultPositions.

Specified by:
setDefaultPositions in interface ContractPositionConstrained
Parameters:
defaultPositions - The possibly null new value for attribute defaultPositions.

isDiscountIsPercentage

public final Boolean isDiscountIsPercentage()
Specified by:
isDiscountIsPercentage in interface PriceOverrideEnabled
Returns:
The possibly null value for attribute discountIsPercentage.

setDiscountIsPercentage

public void setDiscountIsPercentage(Boolean discountIsPercentage)
Sets a new value for the attribute discountIsPercentage.

Specified by:
setDiscountIsPercentage in interface PriceOverrideEnabled
Parameters:
discountIsPercentage - The possibly null new value for attribute discountIsPercentage.

getDefaultUom

public Uom getDefaultUom()
Retrieves the value for the reference defaultUom.

Specified by:
getDefaultUom in interface AbstractProduct
Returns:
The – possibly null – value for this reference.

setDefaultUom

public void setDefaultUom(Uom defaultUom)
Sets a new value for the reference defaultUom.

Specified by:
setDefaultUom in interface AbstractProduct
Parameters:
defaultUom - The non-null new value for this reference.

getDisabledReason

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

setDisabledReason

public void setDisabledReason(String disabledReason)
Sets a new value for the attribute disabledReason.

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

getMinPositions

public final Integer getMinPositions()
Specified by:
getMinPositions in interface ContractPositionConstrained
Returns:
The possibly null value for attribute minPositions.

setMinPositions

public void setMinPositions(Integer minPositions)
Sets a new value for the attribute minPositions.

Specified by:
setMinPositions in interface ContractPositionConstrained
Parameters:
minPositions - The possibly null new value for attribute minPositions.

getIdentity

public XRI getIdentity()
Retrieves the value for the derived attribute identity.

Specified by:
getIdentity in interface org.openmdx.base.cci2.ExtentCapable
Returns:
The non-null value for the attribute identity

getCreatedAt

public Date getCreatedAt()
Retrieves the value for the attribute createdAt.

Specified by:
getCreatedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute createdAt.

getItemNumber

public long getItemNumber()
Retrieves the value for the attribute itemNumber.

Specified by:
getItemNumber in interface ContractPositionConstrained
Returns:
The non-null value for attribute itemNumber.

setItemNumber

public void setItemNumber(long itemNumber)
Sets a new value for the attribute itemNumber.

Specified by:
setItemNumber in interface ContractPositionConstrained
Parameters:
itemNumber - The non-null new value for attribute itemNumber.

getNote

public <T extends Note> Collection<T> getNote()
Retrieves a set containing all the elements for the reference note.

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

removeSubscription

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

getMaxQuantity

public final BigDecimal getMaxQuantity()
Specified by:
getMaxQuantity in interface ContractPositionConstrained
Returns:
The possibly null value for attribute maxQuantity.

setMaxQuantity

public void setMaxQuantity(BigDecimal maxQuantity)
Sets a new value for the attribute maxQuantity.

Specified by:
setMaxQuantity in interface ContractPositionConstrained
Parameters:
maxQuantity - The possibly null new value for attribute maxQuantity.

updateIndex

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

getProductUsage

public ActivityTracker getProductUsage()
Retrieves the value for the reference productUsage.

Specified by:
getProductUsage in interface AbstractProduct
Returns:
The – possibly null – value for this reference.

setProductUsage

public void setProductUsage(ActivityTracker productUsage)
Sets a new value for the reference productUsage.

Specified by:
setProductUsage in interface AbstractProduct
Parameters:
productUsage - The non-null new value for this reference.

getClassification

public <T extends ProductClassification> List<T> getClassification()
Retrieves the Collection of objects referenced by classification.

Specified by:
getClassification in interface AbstractProduct
Returns:
The Collection of referenced objects.

isAllowModification

public final Boolean isAllowModification()
Specified by:
isAllowModification in interface ContractPositionConstrained
Returns:
The possibly null value for attribute allowModification.

setAllowModification

public void setAllowModification(Boolean allowModification)
Sets a new value for the attribute allowModification.

Specified by:
setAllowModification in interface ContractPositionConstrained
Parameters:
allowModification - The possibly null new value for attribute allowModification.

getBasePrice

public <T extends ProductBasePrice> Collection<T> getBasePrice()
Retrieves a set containing all the elements for the reference basePrice.

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

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

getAssignedAccount

public <T extends AccountAssignmentProduct> Collection<T> getAssignedAccount()
Retrieves a set containing all the elements for the reference assignedAccount.

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

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.

getAlternateProductNumber

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

setAlternateProductNumber

public void setAlternateProductNumber(String... alternateProductNumber)

This method is equivalent to

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

Specified by:
setAlternateProductNumber in interface AbstractProduct
Parameters:
alternateProductNumber - value(s) to be added to alternateProductNumber

addSubscriptionForParent

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

getMinMaxQuantityHandling

public short getMinMaxQuantityHandling()
Retrieves the value for the attribute minMaxQuantityHandling.

Specified by:
getMinMaxQuantityHandling in interface ContractPositionConstrained
Returns:
The non-null value for attribute minMaxQuantityHandling.

setMinMaxQuantityHandling

public void setMinMaxQuantityHandling(short minMaxQuantityHandling)
Sets a new value for the attribute minMaxQuantityHandling.

Specified by:
setMinMaxQuantityHandling in interface ContractPositionConstrained
Parameters:
minMaxQuantityHandling - The non-null new value for attribute minMaxQuantityHandling.

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.

getDescription

public final String getDescription()
Specified by:
getDescription in interface AbstractProduct
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String description)
Sets a new value for the attribute description.

Specified by:
setDescription in interface AbstractProduct
Parameters:
description - The possibly null new value for attribute description.

changeOrder

public <T extends org.openmdx.base.cci2.Void> T changeOrder(int newOrder)
                                                 throws RefException
Specified by:
changeOrder in interface AbstractProductBundle
Throws:
RefException

removeOwningGroup

public <T extends ModifySecureObjectResult> T removeOwningGroup(PrincipalGroup group,
                                                                short mode)
                                                     throws RefException
Specified by:
removeOwningGroup in interface SecureObject
Throws:
RefException

importItem

public <T extends ImportResult> T importItem(byte[] item,
                                             String itemMimeType,
                                             String itemName,
                                             short locale)
                                  throws RefException
Specified by:
importItem in interface Importer
Throws:
RefException

isOverridePrice

public final Boolean isOverridePrice()
Specified by:
isOverridePrice in interface PriceOverrideEnabled
Returns:
The possibly null value for attribute overridePrice.

setOverridePrice

public void setOverridePrice(Boolean overridePrice)
Sets a new value for the attribute overridePrice.

Specified by:
setOverridePrice in interface PriceOverrideEnabled
Parameters:
overridePrice - The possibly null new value for attribute overridePrice.

getUserNumber4

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

setUserNumber4

public void setUserNumber4(BigDecimal... userNumber4)

This method is equivalent to

   list.clear();
   for(java.math.BigDecimal e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserNumber4 in interface CrxObject
Parameters:
userNumber4 - value(s) to be added to userNumber4

getPriceUom

public <T extends Uom> List<T> getPriceUom()
Retrieves the Collection of objects referenced by priceUom.

Specified by:
getPriceUom in interface AbstractProduct
Returns:
The Collection of referenced objects.

getAccessGrantedByParent

public org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent.

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

getOwner

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

getMedia

public <T extends Media> Collection<T> getMedia()
Retrieves a set containing all the elements for the reference media.

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

getMinQuantity

public final BigDecimal getMinQuantity()
Specified by:
getMinQuantity in interface ContractPositionConstrained
Returns:
The possibly null value for attribute minQuantity.

setMinQuantity

public void setMinQuantity(BigDecimal minQuantity)
Sets a new value for the attribute minQuantity.

Specified by:
setMinQuantity in interface ContractPositionConstrained
Parameters:
minQuantity - The possibly null new value for attribute minQuantity.

getModifiedAt

public Date getModifiedAt()
Retrieves the value for the attribute modifiedAt.

Specified by:
getModifiedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute modifiedAt.

getDefaultPriceLevel

public PriceLevel getDefaultPriceLevel()
Retrieves the value for the reference defaultPriceLevel.

Specified by:
getDefaultPriceLevel in interface AbstractProduct
Returns:
The – possibly null – value for this reference.

setDefaultPriceLevel

public void setDefaultPriceLevel(PriceLevel defaultPriceLevel)
Sets a new value for the reference defaultPriceLevel.

Specified by:
setDefaultPriceLevel in interface AbstractProduct
Parameters:
defaultPriceLevel - The non-null new value for this reference.

getPropertySet

public <T extends PropertySet> Collection<T> getPropertySet()
Retrieves a set containing all the elements for the reference propertySet.

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

getProductNumber

public String getProductNumber()
Retrieves the value for the attribute productNumber.

Specified by:
getProductNumber in interface AbstractProduct
Returns:
The non-null value for attribute productNumber.

setProductNumber

public void setProductNumber(String productNumber)
Sets a new value for the attribute productNumber.

Specified by:
setProductNumber in interface AbstractProduct
Parameters:
productNumber - The non-null new value for attribute productNumber.

getUserNumber2

public final BigDecimal getUserNumber2()
Specified by:
getUserNumber2 in interface CrxObject
Returns:
The possibly null value for attribute userNumber2.

setUserNumber2

public void setUserNumber2(BigDecimal userNumber2)
Sets a new value for the attribute userNumber2.

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

getUserNumber3

public final BigDecimal getUserNumber3()
Specified by:
getUserNumber3 in interface CrxObject
Returns:
The possibly null value for attribute userNumber3.

setUserNumber3

public void setUserNumber3(BigDecimal userNumber3)
Sets a new value for the attribute userNumber3.

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

getUserNumber0

public final BigDecimal getUserNumber0()
Specified by:
getUserNumber0 in interface CrxObject
Returns:
The possibly null value for attribute userNumber0.

setUserNumber0

public void setUserNumber0(BigDecimal userNumber0)
Sets a new value for the attribute userNumber0.

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

getName

public String getName()
Retrieves the value for the attribute name.

Specified by:
getName in interface AbstractProduct
Returns:
The non-null value for attribute name.

setName

public void setName(String name)
Sets a new value for the attribute name.

Specified by:
setName in interface AbstractProduct
Parameters:
name - The non-null new value for attribute name.

getUserNumber1

public final BigDecimal getUserNumber1()
Specified by:
getUserNumber1 in interface CrxObject
Returns:
The possibly null value for attribute userNumber1.

setUserNumber1

public void setUserNumber1(BigDecimal userNumber1)
Sets a new value for the attribute userNumber1.

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

removeSubscriptionForParent

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

getSalesTaxType

public SalesTaxType getSalesTaxType()
Retrieves the value for the reference salesTaxType.

Specified by:
getSalesTaxType in interface AbstractProduct
Returns:
The – possibly null – value for this reference.

setSalesTaxType

public void setSalesTaxType(SalesTaxType salesTaxType)
Sets a new value for the reference salesTaxType.

Specified by:
setSalesTaxType in interface AbstractProduct
Parameters:
salesTaxType - The non-null new value for this reference.

getAudit

public <T extends AuditEntry> Collection<T> getAudit()
Retrieves a set containing all the elements for the reference audit.

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

getAttachedDocument

public <T extends DocumentAttachment> Collection<T> getAttachedDocument()
Retrieves a set containing all the elements for the reference attachedDocument.

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

getProductState

public short getProductState()
Retrieves the value for the attribute productState.

Specified by:
getProductState in interface AbstractProduct
Returns:
The non-null value for attribute productState.

setProductState

public void setProductState(short productState)
Sets a new value for the attribute productState.

Specified by:
setProductState in interface AbstractProduct
Parameters:
productState - The non-null new value for attribute productState.

getAccessLevelUpdate

public short getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate.

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

setAccessLevelUpdate

public void setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate.

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

getDefaultQuantity

public final BigDecimal getDefaultQuantity()
Specified by:
getDefaultQuantity in interface ContractPositionConstrained
Returns:
The possibly null value for attribute defaultQuantity.

setDefaultQuantity

public void setDefaultQuantity(BigDecimal defaultQuantity)
Sets a new value for the attribute defaultQuantity.

Specified by:
setDefaultQuantity in interface ContractPositionConstrained
Parameters:
defaultQuantity - The possibly null new value for attribute defaultQuantity.

isAllowRemoval

public final Boolean isAllowRemoval()
Specified by:
isAllowRemoval in interface ContractPositionConstrained
Returns:
The possibly null value for attribute allowRemoval.

setAllowRemoval

public void setAllowRemoval(Boolean allowRemoval)
Sets a new value for the attribute allowRemoval.

Specified by:
setAllowRemoval in interface ContractPositionConstrained
Parameters:
allowRemoval - The possibly null new value for attribute allowRemoval.

getAddress

public <T extends ProductAddress> Collection<T> getAddress()
Retrieves a set containing all the elements for the reference address.

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

getMaxPositions

public final Integer getMaxPositions()
Specified by:
getMaxPositions in interface ContractPositionConstrained
Returns:
The possibly null value for attribute maxPositions.

setMaxPositions

public void setMaxPositions(Integer maxPositions)
Sets a new value for the attribute maxPositions.

Specified by:
setMaxPositions in interface ContractPositionConstrained
Parameters:
maxPositions - The possibly null new value for attribute maxPositions.

getUserCode4

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

setUserCode4

public void setUserCode4(short... userCode4)

This method is equivalent to

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

Specified by:
setUserCode4 in interface CrxObject
Parameters:
userCode4 - value(s) to be added to userCode4

getRating

public <T extends Rating> Collection<T> getRating()
Retrieves a set containing all the elements for the reference rating.

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

getUserCode1

public final Short getUserCode1()
Specified by:
getUserCode1 in interface CrxObject
Returns:
The possibly null value for attribute userCode1.

setUserCode1

public void setUserCode1(Short userCode1)
Sets a new value for the attribute userCode1.

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

getUserCode0

public final Short getUserCode0()
Specified by:
getUserCode0 in interface CrxObject
Returns:
The possibly null value for attribute userCode0.

setUserCode0

public void setUserCode0(Short userCode0)
Sets a new value for the attribute userCode0.

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

getUserCode3

public final Short getUserCode3()
Specified by:
getUserCode3 in interface CrxObject
Returns:
The possibly null value for attribute userCode3.

setUserCode3

public void setUserCode3(Short userCode3)
Sets a new value for the attribute userCode3.

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

isDisabled

public boolean isDisabled()
Retrieves the value for the attribute disabled.

Specified by:
isDisabled in interface CrxObject
Returns:
The non-null value for attribute disabled.

setDisabled

public void setDisabled(boolean disabled)
Sets a new value for the attribute disabled.

Specified by:
setDisabled in interface CrxObject
Parameters:
disabled - The non-null new value for attribute disabled.

getUserCode2

public final Short getUserCode2()
Specified by:
getUserCode2 in interface CrxObject
Returns:
The possibly null value for attribute userCode2.

setUserCode2

public void setUserCode2(Short userCode2)
Sets a new value for the attribute userCode2.

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

sendAlert

public <T extends org.openmdx.base.cci2.Void> T sendAlert(String description,
                                                          short importance,
                                                          String name,
                                                          org.openmdx.base.cci2.BasicObject reference,
                                                          String toUsers)
                                               throws RefException
Specified by:
sendAlert in interface AlertSender
Throws:
RefException

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObject

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)

openmdxjdoGetClass

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

Returns:
the model class
See Also:
AbstractProductBundle.CLASS

setBundleContainer

public void setBundleContainer(ProductBundleContainer bundleContainer)
Sets a new value for the reference bundleContainer.

Specified by:
setBundleContainer in interface AbstractProductBundle
Parameters:
bundleContainer - The non-null new value for this reference.

openmdxjdoGetObjectsByParent

public static CloseableCollection<AbstractProductBundle> openmdxjdoGetObjectsByParent(ProductBundleContainer bundleContainer)
Navigate through an object's composite association


setBundleContainer

public void setBundleContainer(ProductBundleContainer bundleContainer,
                               boolean idIsPersistent,
                               String id)
Set the object's composite association org:opencrx:kernel:product1:BundleContainerContainsBundle.

Specified by:
setBundleContainer in interface AbstractProductBundle
Parameters:
bundleContainer - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.

newIdentity

public static AbstractProductBundle.Identity newIdentity(org.oasisopen.cci2.PersistentIdentity bundleContainer,
                                                         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.