|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_M_Attribute
public class X_M_Attribute
Generated Model for M_Attribute
| Field Summary | |
|---|---|
static int |
ATTRIBUTEVALUETYPE_AD_Reference_ID
AttributeValueType AD_Reference_ID=326 |
static String |
ATTRIBUTEVALUETYPE_List
List = L |
static String |
ATTRIBUTEVALUETYPE_Number
Number = N |
static String |
ATTRIBUTEVALUETYPE_StringMax40
String (max 40) = S |
| Fields inherited from class org.compiere.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_M_Attribute |
|---|
accessLevel, COLUMNNAME_AttributeValueType, COLUMNNAME_Description, COLUMNNAME_IsInstanceAttribute, COLUMNNAME_IsMandatory, COLUMNNAME_M_Attribute_ID, COLUMNNAME_M_AttributeSearch_ID, COLUMNNAME_Name, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
X_M_Attribute(Properties ctx,
int M_Attribute_ID,
String trxName)
Standard Constructor |
|
X_M_Attribute(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
String |
getAttributeValueType()
Get Attribute Value Type. |
String |
getDescription()
Get Description. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
int |
getM_Attribute_ID()
Get Attribute. |
int |
getM_AttributeSearch_ID()
Get Attribute Search. |
I_M_AttributeSearch |
getM_AttributeSearch()
|
String |
getName()
Get Name. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
isInstanceAttribute()
Get Instance Attribute. |
boolean |
isMandatory()
Get Mandatory. |
void |
setAttributeValueType(String AttributeValueType)
Set Attribute Value Type. |
void |
setDescription(String Description)
Set Description. |
void |
setIsInstanceAttribute(boolean IsInstanceAttribute)
Set Instance Attribute. |
void |
setIsMandatory(boolean IsMandatory)
Set Mandatory. |
void |
setM_Attribute_ID(int M_Attribute_ID)
Set Attribute. |
void |
setM_AttributeSearch_ID(int M_AttributeSearch_ID)
Set Attribute Search. |
void |
setName(String Name)
Set Name. |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Field Detail |
|---|
public static final int ATTRIBUTEVALUETYPE_AD_Reference_ID
public static final String ATTRIBUTEVALUETYPE_StringMax40
public static final String ATTRIBUTEVALUETYPE_Number
public static final String ATTRIBUTEVALUETYPE_List
| Constructor Detail |
|---|
public X_M_Attribute(Properties ctx,
int M_Attribute_ID,
String trxName)
public X_M_Attribute(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class POpublic void setAttributeValueType(String AttributeValueType)
setAttributeValueType in interface I_M_AttributeAttributeValueType - Type of Attribute Valuepublic String getAttributeValueType()
getAttributeValueType in interface I_M_Attributepublic void setDescription(String Description)
setDescription in interface I_M_AttributeDescription - Optional short description of the recordpublic String getDescription()
getDescription in interface I_M_Attributepublic void setIsInstanceAttribute(boolean IsInstanceAttribute)
setIsInstanceAttribute in interface I_M_AttributeIsInstanceAttribute - The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date)public boolean isInstanceAttribute()
isInstanceAttribute in interface I_M_Attributepublic void setIsMandatory(boolean IsMandatory)
setIsMandatory in interface I_M_AttributeIsMandatory - Data entry is required in this columnpublic boolean isMandatory()
isMandatory in interface I_M_Attributepublic void setM_Attribute_ID(int M_Attribute_ID)
setM_Attribute_ID in interface I_M_AttributeM_Attribute_ID - Product Attributepublic int getM_Attribute_ID()
getM_Attribute_ID in interface I_M_Attribute
public I_M_AttributeSearch getM_AttributeSearch()
throws Exception
getM_AttributeSearch in interface I_M_AttributeExceptionpublic void setM_AttributeSearch_ID(int M_AttributeSearch_ID)
setM_AttributeSearch_ID in interface I_M_AttributeM_AttributeSearch_ID - Common Search Attributepublic int getM_AttributeSearch_ID()
getM_AttributeSearch_ID in interface I_M_Attributepublic void setName(String Name)
setName in interface I_M_AttributeName - Alphanumeric identifier of the entitypublic String getName()
getName in interface I_M_Attributepublic KeyNamePair getKeyNamePair()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||