|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.AbstractStateAccessor, org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.ObjectState, org.w3c.jpa3.AbstractObject.SlicedList<E,S>, org.w3c.jpa3.AbstractObject.SlicedMap<E,S>, org.w3c.jpa3.AbstractObject.SlicedSet<E,S> |
| Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.PriceListEntry |
|---|
PriceListEntry.Identity |
| Field Summary | |
|---|---|
Timestamp |
createdAt
Attribute createdAt. |
String |
identity
Attribute identity. |
Timestamp |
modifiedAt
Attribute modifiedAt. |
| 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. |
|
protected String |
getOpenmdxjdoIdentity()
Retrieve the object's JDO identity key |
|
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
|
openmdxjdoGetSlices()
|
|
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. |
|
protected void |
setOpenmdxjdoIdentity(String value)
Set the object's JDO identity key |
|
void |
setOwner(String... owner)
Clears owner and adds the given value(s). |
|
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 |
setProductDescription(String productDescription)
Sets a new value for the attribute productDescription. |
|
void |
setProductDisabled(Boolean productDisabled)
Sets a new value for the attribute productDisabled. |
|
void |
setProductName(String productName)
Sets a new value for the attribute productName. |
|
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 |
|---|
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Timestamp modifiedAt
modifiedAt.
public String identity
identity.
public Timestamp createdAt
createdAt.
| Constructor Detail |
|---|
public PriceListEntry()
| Method Detail |
|---|
protected String getOpenmdxjdoIdentity()
getOpenmdxjdoIdentity in class org.w3c.jpa3.AbstractObjectprotected void setOpenmdxjdoIdentity(String value)
setOpenmdxjdoIdentity in class org.w3c.jpa3.AbstractObjectprotected final <E extends PriceListEntry$Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
public 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 <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 Date getModifiedAt()
modifiedAt.
getModifiedAt in interface ModifiablemodifiedAt.public final String getProductDescription()
productDescription.
getProductDescription in interface PriceListEntryproductDescription.public void setProductDescription(String productDescription)
productDescription.
setProductDescription in interface PriceListEntryproductDescription - The possibly null new value for attribute productDescription.public Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface Modifiablepublic 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 String getIdentity()
identity.
getIdentity in interface ExtentCapableidentity.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 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 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 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
removeAllOwningGroup in interface SecureObjectpublic Date getCreatedAt()
createdAt.
getCreatedAt in interface CreatablecreatedAt.public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
setOwningUser 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 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 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
addOwningGroup in interface SecureObjectpublic SalesTaxType getSalesTaxType()
salesTaxType.
getSalesTaxType in interface PriceListEntrynull – value for this reference.public String getSalesTaxType_Id()
public 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 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 CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
checkPermissions in interface SecureObjectpublic ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
removeOwningGroup 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 AbstractProduct getProduct()
product.
getProduct in interface PriceListEntrynull – value for this reference.public String getProduct_Id()
public 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 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 Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface Creatablepublic ContextCapable getAccessGrantedByParent()
accessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectnull – value for this reference.public String getAccessGrantedByParent_Id()
public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
setAccessLevel in interface SecureObjectpublic List<String> getOwner()
owner.
getOwner in interface SecureObjectpublic void setOwner(String... owner)
owner and adds the given value(s).
This method is equivalent to
list.clear();
for(java.lang.String e : attributeName){
list.add(e);
}
setOwner in interface SecureObjectowner - value(s) to be added to ownerpublic ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
replaceOwningGroup in interface SecureObjectpublic <T extends Context> Map<String,T> getContext()
Map of objects referenced by context.
getContext in interface ContextCapableMap of referenced objects.public 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 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 String getProductName()
productName.
getProductName in interface PriceListEntryproductName.public void setProductName(String productName)
productName.
This attribute is not changeable, i.e. its value can be set as long as the object is TRANSIENT or NEW
setProductName in interface PriceListEntryproductName - The non-null new value for attribute productName.public 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 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 | |||||||||