|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jpa3.AbstractObject
org.opencrx.kernel.product1.jpa3.PriceListEntry
public class PriceListEntry
Class PriceListEntry
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject |
|---|
org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.Slice |
| Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.PriceListEntry |
|---|
PriceListEntry.Identity |
| 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::PriceListEntry |
| Constructor Summary | |
|---|---|
PriceListEntry()
Constructor |
|
| Method Summary | ||
|---|---|---|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams in)
|
|
CheckPermissionsResult |
checkPermissions(CheckPermissionsParams in)
|
|
String |
getAccessGrantedByParent_Id()
|
|
ContextCapable |
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. |
|
String |
getBasePrice_Id()
|
|
ProductBasePrice |
getBasePrice()
Retrieves the value for the reference basePrice. |
|
|
getContext()
Retrieves the Map of objects referenced by context. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
BigDecimal |
getDiscount()
Retrieves the possibly null value for the optional attribute discount. |
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
|
List<String> |
getOwner()
Retrieves a list containing all the elements for the attribute owner. |
|
List<String> |
getOwningGroup_Id()
|
|
|
getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup. |
|
String |
getOwningUser_Id()
|
|
User |
getOwningUser()
Retrieves the value for the reference owningUser. |
|
BigDecimal |
getPrice()
Retrieves the possibly null value for the optional attribute price. |
|
short |
getPriceCurrency()
Retrieves the value for the attribute priceCurrency. |
|
List<String> |
getPriceLevel_Id()
|
|
|
getPriceLevel()
Retrieves the Collection of objects referenced by priceLevel. |
|
String |
getProduct_Id()
|
|
AbstractProduct |
getProduct()
Retrieves the value for the reference product. |
|
String |
getProductDescription()
Retrieves the possibly null value for the optional attribute productDescription. |
|
String |
getProductName()
Retrieves the value for the attribute productName. |
|
BigDecimal |
getQuantityFrom()
Retrieves the possibly null value for the optional attribute quantityFrom. |
|
BigDecimal |
getQuantityTo()
Retrieves the possibly null value for the optional attribute quantityTo. |
|
String |
getSalesTaxType_Id()
|
|
SalesTaxType |
getSalesTaxType()
Retrieves the value for the reference salesTaxType. |
|
String |
getUom_Id()
|
|
Uom |
getUom()
Retrieves the value for the reference uom. |
|
List<Short> |
getUsage()
Retrieves a list containing all the elements for the attribute usage. |
|
Boolean |
isDiscountIsPercentage()
Retrieves the possibly null value for the optional attribute discountIsPercentage. |
|
Boolean |
isProductDisabled()
Retrieves the possibly null value for the optional attribute productDisabled. |
|
protected org.w3c.jpa3.AbstractObject.Slice |
newPriceListEntry$Slice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected String |
openmdxjdoGetObjectId()
Retrieve the object's JDO identity key |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
ModifySecureObjectResult |
removeAllOwningGroup(RemoveAllOwningGroupParams in)
|
|
ModifySecureObjectResult |
removeOwningGroup(ModifyOwningGroupParams in)
|
|
ModifySecureObjectResult |
replaceOwningGroup(ModifyOwningGroupsParams in)
|
|
ModifySecureObjectResult |
setAccessLevel(SetAccessLevelParams in)
|
|
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 |
setBasePrice_Id(String basePrice)
|
|
void |
setBasePrice(ProductBasePrice basePrice)
Sets a new value for the reference basePrice. |
|
void |
setDescription(String description)
Sets a new value for the attribute description. |
|
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 |
setOwningUser_Id(String owningUser)
|
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams in)
|
|
void |
setOwningUser(User owningUser)
Sets a new value for the reference owningUser. |
|
void |
setPrice(BigDecimal price)
Sets a new value for the attribute price. |
|
void |
setPriceCurrency(short priceCurrency)
Sets a new value for the attribute priceCurrency. |
|
void |
setProductDisabled(Boolean productDisabled)
Sets a new value for the attribute productDisabled. |
|
void |
setQuantityFrom(BigDecimal quantityFrom)
Sets a new value for the attribute quantityFrom. |
|
void |
setQuantityTo(BigDecimal quantityTo)
Sets a new value for the attribute quantityTo. |
|
void |
setSegment_Id(String segment)
|
|
void |
setSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
setUom_Id(String uom)
|
|
void |
setUom(Uom uom)
Sets a new value for the reference uom. |
|
void |
setUsage(short... usage)
Clears usage and adds the given value(s). |
|
| Methods inherited from class org.w3c.jpa3.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::product1::PriceListEntry
public static final List<String> BASE_CLASS
PriceListEntry.CLASS| Constructor Detail |
|---|
public PriceListEntry()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jpa3.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jpa3.AbstractObjectpublic AbstractProduct getProduct()
product.
getProduct in interface PriceListEntrynull – value for this reference.public String getProduct_Id()
public final Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface Modifiablepublic final BigDecimal getQuantityTo()
quantityTo.
getQuantityTo in interface AbstractProductPricequantityTo.public void setQuantityTo(BigDecimal quantityTo)
quantityTo.
setQuantityTo in interface AbstractProductPricequantityTo - The possibly null new value for attribute quantityTo.public String getIdentity()
identity.
getIdentity in interface ExtentCapableidentity.public String getProductName()
productName.
getProductName in interface PriceListEntryproductName.public Date getCreatedAt()
createdAt.
getCreatedAt in interface CreatablecreatedAt.public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic final String getProductDescription()
productDescription.
getProductDescription in interface PriceListEntryproductDescription.public final BigDecimal getPrice()
price.
getPrice in interface AbstractProductPriceprice.public void setPrice(BigDecimal price)
price.
setPrice in interface AbstractProductPriceprice - The possibly null new value for attribute price.public <T extends Context> Map<String,T> getContext()
Map of objects referenced by context.
getContext in interface ContextCapableMap of referenced objects.public final List<Short> getUsage()
usage.
getUsage in interface AbstractProductPricepublic void setUsage(short... usage)
usage and adds the given value(s).
This method is equivalent to
list.clear();
for(short e : attributeName){
list.add(e);
}
setUsage in interface AbstractProductPriceusage - value(s) to be added to usagepublic final BigDecimal getQuantityFrom()
quantityFrom.
getQuantityFrom in interface AbstractProductPricequantityFrom.public void setQuantityFrom(BigDecimal quantityFrom)
quantityFrom.
setQuantityFrom in interface AbstractProductPricequantityFrom - The possibly null new value for attribute quantityFrom.public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser in interface SecureObjectpublic short getAccessLevelUpdate()
accessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.public void setAccessLevelUpdate(short accessLevelUpdate)
accessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectaccessLevelUpdate - The non-null new value for attribute accessLevelUpdate.public User getOwningUser()
owningUser.
getOwningUser in interface SecureObjectnull – value for this reference.public String getOwningUser_Id()
public void setOwningUser(User owningUser)
owningUser.
setOwningUser in interface SecureObjectowningUser - The non-null new value for this reference.public void setOwningUser_Id(String owningUser)
public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic final BigDecimal getDiscount()
discount.
getDiscount in interface AbstractProductPricediscount.public void setDiscount(BigDecimal discount)
discount.
setDiscount in interface AbstractProductPricediscount - The possibly null new value for attribute discount.public Uom getUom()
uom.
getUom in interface AbstractProductPricenull value for this reference.public String getUom_Id()
public void setUom(Uom uom)
uom.
setUom in interface AbstractProductPriceuom - The non-null new value for this reference.public void setUom_Id(String uom)
public <T extends AbstractPriceLevel> List<T> getPriceLevel()
Collection of objects referenced by priceLevel.
getPriceLevel in interface AbstractProductPriceCollection of referenced objects.public List<String> getPriceLevel_Id()
public final List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic <T extends PrincipalGroup> List<T> getOwningGroup()
Collection of objects referenced by owningGroup.
getOwningGroup in interface SecureObjectCollection of referenced objects.public List<String> getOwningGroup_Id()
public ContextCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public String getAccessGrantedByParent_Id()
public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface Creatablepublic ProductBasePrice getBasePrice()
basePrice.
getBasePrice in interface PriceListEntrynull – value for this reference.public String getBasePrice_Id()
public void setBasePrice(ProductBasePrice basePrice)
basePrice.
setBasePrice in interface PriceListEntrybasePrice - The non-null new value for this reference.public void setBasePrice_Id(String basePrice)
public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
removeOwningGroup in interface SecureObjectpublic short getAccessLevelBrowse()
accessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.public void setAccessLevelBrowse(short accessLevelBrowse)
accessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectaccessLevelBrowse - The non-null new value for attribute accessLevelBrowse.public ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic final String getDescription()
description.
getDescription in interface AbstractProductPricedescription.public void setDescription(String description)
description.
setDescription in interface AbstractProductPricedescription - The possibly null new value for attribute description.public short getPriceCurrency()
priceCurrency.
getPriceCurrency in interface AbstractProductPricepriceCurrency.public void setPriceCurrency(short priceCurrency)
priceCurrency.
setPriceCurrency in interface AbstractProductPricepriceCurrency - The non-null new value for attribute priceCurrency.public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic final Boolean isDiscountIsPercentage()
discountIsPercentage.
isDiscountIsPercentage in interface AbstractProductPricediscountIsPercentage.public void setDiscountIsPercentage(Boolean discountIsPercentage)
discountIsPercentage.
setDiscountIsPercentage in interface AbstractProductPricediscountIsPercentage - The possibly null new value for attribute discountIsPercentage.public short getAccessLevelDelete()
accessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.public void setAccessLevelDelete(short accessLevelDelete)
accessLevelDelete.
setAccessLevelDelete in interface SecureObjectaccessLevelDelete - The non-null new value for attribute accessLevelDelete.public final Boolean isProductDisabled()
productDisabled.
isProductDisabled in interface PriceListEntryproductDisabled.public void setProductDisabled(Boolean productDisabled)
productDisabled.
setProductDisabled in interface PriceListEntryproductDisabled - The possibly null new value for attribute productDisabled.public SalesTaxType getSalesTaxType()
salesTaxType.
getSalesTaxType in interface PriceListEntrynull – value for this reference.public String getSalesTaxType_Id()
public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface ModifiablemodifiedAt.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jpa3.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jpa3.AbstractObjectprotected org.w3c.jpa3.AbstractObject.Slice newPriceListEntry$Slice(int index)
protected List<String> openmdxjdoGetClass()
PriceListEntry.CLASSpublic void setSegment(Segment segment)
segment.
segment - The non-null new value for this reference.public void setSegment_Id(String segment)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||