|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_M_AttributeSet
org.compiere.model.MAttributeSet
public class MAttributeSet
Product Attribute Set
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_AttributeSet |
|---|
accessLevel, MANDATORYTYPE_AD_Reference_ID, MANDATORYTYPE_AlwaysMandatory, MANDATORYTYPE_NotMandatory, MANDATORYTYPE_WhenShipping, Model, Table_ID, Table_Name, updatedMS |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MAttributeSet(Ctx ctx,
int M_AttributeSet_ID,
String trxName)
Standard constructor |
|
MAttributeSet(Ctx ctx,
ResultSet rs,
String trxName)
Load constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
boolean |
excludeEntry(int AD_Column_ID,
boolean isSOTrx)
Exclude entry |
static MAttributeSet |
get(Ctx ctx,
int M_AttributeSet_ID)
Get MAttributeSet from Cache |
String |
getLotCharEnd()
Get Lot Char End |
String |
getLotCharStart()
Get Lot Char Start |
MAttribute[] |
getMAttributes(boolean instanceAttributes)
Get Attribute Array |
String |
getSerNoCharEnd()
Get SerNo Char End |
String |
getSerNoCharStart()
Get SerNo Char Start |
boolean |
isExcludeLot(int AD_Column_ID,
boolean isSOTrx)
Exclude Lot creation |
boolean |
isExcludeSerNo(int AD_Column_ID,
boolean isSOTrx)
Exclude SerNo creation |
boolean |
isMandatory()
Something is Mandatory |
boolean |
isMandatoryAlways()
Is always mandatory |
boolean |
isMandatoryShipping()
Is Mandatory when Shipping |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MAttributeSet(Ctx ctx,
int M_AttributeSet_ID,
String trxName)
ctx - contextM_AttributeSet_ID - idtrxName - transaction
public MAttributeSet(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MAttributeSet get(Ctx ctx,
int M_AttributeSet_ID)
ctx - contextM_AttributeSet_ID - id
public MAttribute[] getMAttributes(boolean instanceAttributes)
instanceAttributes - true if for instance
public boolean isMandatory()
public boolean isMandatoryAlways()
public boolean isMandatoryShipping()
public boolean excludeEntry(int AD_Column_ID,
boolean isSOTrx)
AD_Column_ID - columnisSOTrx - sales order
public boolean isExcludeLot(int AD_Column_ID,
boolean isSOTrx)
AD_Column_ID - columnisSOTrx - SO
public boolean isExcludeSerNo(int AD_Column_ID,
boolean isSOTrx)
AD_Column_ID - columnisSOTrx - SO
public String getLotCharStart()
public String getLotCharEnd()
public String getSerNoCharStart()
public String getSerNoCharEnd()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||