|
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_AttributeSetInstance
org.compiere.model.MAttributeSetInstance
public class MAttributeSetInstance
Product Attribute Set Instance
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_AttributeSetInstance |
|---|
accessLevel, 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 | |
|---|---|
MAttributeSetInstance(Ctx ctx,
int M_AttributeSetInstance_ID,
int M_AttributeSet_ID,
String trxName)
Standard Constructor |
|
MAttributeSetInstance(Ctx ctx,
int M_AttributeSetInstance_ID,
String trxName)
Standard Constructor |
|
MAttributeSetInstance(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
KeyNamePair |
createLot(int M_Product_ID)
Create Lot |
static MAttributeSetInstance |
get(Ctx ctx,
int M_AttributeSetInstance_ID,
int M_Product_ID)
Get Attribute Set Instance from ID or Product |
Timestamp |
getGuaranteeDate(boolean getNew)
Get Guarantee Date |
String |
getLot(boolean getNew,
int M_Product_ID)
Get Lot No |
MAttributeSet |
getMAttributeSet()
Get Attribute Set |
String |
getSerNo(boolean getNew)
Get Serial No |
boolean |
isExcludeLot(int AD_Column_ID,
boolean isSOTrx)
Exclude Lot creation |
boolean |
isExcludeSerNo(int AD_Column_ID,
boolean isSOTrx)
Exclude SerNo creation |
void |
setDescription()
Set Description |
void |
setLot(String Lot,
int M_Product_ID)
To to find lot and set Lot/ID |
void |
setMAttributeSet(MAttributeSet mas)
Set Attribute Set |
| Methods inherited from class org.compiere.model.X_M_AttributeSetInstance |
|---|
get_AccessLevel, getDescription, getGuaranteeDate, getKeyNamePair, getLot, getM_AttributeSet_ID, getM_AttributeSetInstance_ID, getM_Lot_ID, getSerNo, initPO, setDescription, setGuaranteeDate, setLot, setM_AttributeSet_ID, setM_AttributeSetInstance_ID, setM_Lot_ID, setSerNo, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MAttributeSetInstance(Ctx ctx,
int M_AttributeSetInstance_ID,
String trxName)
ctx - contextM_AttributeSetInstance_ID - idtrxName - transaction
public MAttributeSetInstance(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MAttributeSetInstance(Ctx ctx,
int M_AttributeSetInstance_ID,
int M_AttributeSet_ID,
String trxName)
ctx - contextM_AttributeSetInstance_ID - idM_AttributeSet_ID - attribute settrxName - transaction| Method Detail |
|---|
public static MAttributeSetInstance get(Ctx ctx,
int M_AttributeSetInstance_ID,
int M_Product_ID)
ctx - contextM_AttributeSetInstance_ID - id or 0M_Product_ID - required if id is 0
public void setMAttributeSet(MAttributeSet mas)
mas - attribute setpublic MAttributeSet getMAttributeSet()
public void setDescription()
public Timestamp getGuaranteeDate(boolean getNew)
getNew - if true calculates/sets guarantee date
public String getLot(boolean getNew,
int M_Product_ID)
getNew - if true create/set new lotM_Product_ID - product used if new
public KeyNamePair createLot(int M_Product_ID)
M_Product_ID - product used if new
public void setLot(String Lot,
int M_Product_ID)
Lot - lotM_Product_ID - product
public boolean isExcludeLot(int AD_Column_ID,
boolean isSOTrx)
AD_Column_ID - columnisSOTrx - SO
public String getSerNo(boolean getNew)
getNew - if true create/set new Ser No
public boolean isExcludeSerNo(int AD_Column_ID,
boolean isSOTrx)
AD_Column_ID - columnisSOTrx - SO
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||