|
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_Attribute
org.compiere.model.MAttribute
public class MAttribute
Product Attribute
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_Attribute |
|---|
accessLevel, ATTRIBUTEVALUETYPE_AD_Reference_ID, ATTRIBUTEVALUETYPE_List, ATTRIBUTEVALUETYPE_Number, ATTRIBUTEVALUETYPE_StringMax40, 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 | |
|---|---|
MAttribute(Ctx ctx,
int M_Attribute_ID,
String trxName)
Standard Constructor |
|
MAttribute(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
AfterSave |
MAttributeInstance |
getMAttributeInstance(int M_AttributeSetInstance_ID)
Get Attribute Instance |
MAttributeValue[] |
getMAttributeValues()
Get Values if List |
static MAttribute[] |
getOfClient(Ctx ctx,
boolean onlyProductAttributes,
boolean onlyListAttributes)
Get Attributes Of Client |
void |
setMAttributeInstance(int M_AttributeSetInstance_ID,
BigDecimal value)
Set Attribute Instance |
void |
setMAttributeInstance(int M_AttributeSetInstance_ID,
MAttributeValue value)
Set Attribute Instance |
void |
setMAttributeInstance(int M_AttributeSetInstance_ID,
String value)
Set Attribute Instance |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_M_Attribute |
|---|
get_AccessLevel, getAttributeValueType, getDescription, getKeyNamePair, getM_Attribute_ID, getM_AttributeSearch_ID, getName, initPO, isAttributeValueTypeValid, isInstanceAttribute, isMandatory, setAttributeValueType, setDescription, setIsInstanceAttribute, setIsMandatory, setM_Attribute_ID, setM_AttributeSearch_ID, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MAttribute(Ctx ctx,
int M_Attribute_ID,
String trxName)
ctx - contextM_Attribute_ID - idtrxName - transaction
public MAttribute(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MAttribute[] getOfClient(Ctx ctx,
boolean onlyProductAttributes,
boolean onlyListAttributes)
ctx - PropertiesonlyProductAttributes - only Product AttributesonlyListAttributes - only List Attributes
public MAttributeValue[] getMAttributeValues()
public MAttributeInstance getMAttributeInstance(int M_AttributeSetInstance_ID)
M_AttributeSetInstance_ID - attribute set instance
public void setMAttributeInstance(int M_AttributeSetInstance_ID,
MAttributeValue value)
value - valueM_AttributeSetInstance_ID - id
public void setMAttributeInstance(int M_AttributeSetInstance_ID,
String value)
value - string valueM_AttributeSetInstance_ID - id
public void setMAttributeInstance(int M_AttributeSetInstance_ID,
BigDecimal value)
value - number valueM_AttributeSetInstance_ID - idpublic String toString()
toString in class X_M_Attribute
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 | |||||||||