|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.company.thesandbox.domain.ProductImplBase
public abstract class ProductImplBase
| Field Summary | |
|---|---|
protected org.mod4j.runtime.validation.BusinessRuleValidationSupport |
validation
validation : Responsible for validating attribute constraints and businessrules for this business class. |
| Constructor Summary | |
|---|---|
protected |
ProductImplBase()
Default no-argument constructor for ProductImplBase |
|
ProductImplBase(java.lang.String productNumnber,
int price)
Minimal constructor for ProductImplBase |
| Method Summary | |
|---|---|
void |
activateValidation(boolean value)
Activate/deactivate validation for this business class. |
void |
addToRecord(Record element)
Implements the setter of association end |
java.lang.Long |
getId()
|
int |
getPrice()
|
java.lang.String |
getProductNumnber()
|
java.util.Set<Record> |
getRecord()
|
void |
removeFromRecord(Record element)
|
void |
setPrice(int price)
|
void |
setProductNumnber(java.lang.String productNumnber)
|
void |
z_internalAddToRecord(Record element)
Should NOT be used by clients! Implements the correct setting of the link for + owner : Customer when a single element is added to it. |
void |
z_internalRemoveFromRecord(Record element)
Should NOT be used by clients! Implements the correct setting of the link for + owner : Customer when a single element is removed to it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.mod4j.runtime.validation.BusinessRuleValidationSupport validation
| Constructor Detail |
|---|
protected ProductImplBase()
public ProductImplBase(java.lang.String productNumnber,
int price)
productNumnber - (string)price - (integer)| Method Detail |
|---|
public java.lang.Long getId()
public java.util.Set<Record> getRecord()
public void addToRecord(Record element)
element - public void removeFromRecord(Record element)
public void z_internalAddToRecord(Record element)
element - public void z_internalRemoveFromRecord(Record element)
element - public java.lang.String getProductNumnber()
public int getPrice()
public void setProductNumnber(java.lang.String productNumnber)
productNumnber - (String)public void setPrice(int price)
price - (int)public void activateValidation(boolean value)
value - (boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||