|
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_C_BP_Relation
public class X_C_BP_Relation
Generated Model for C_BP_Relation
| Field Summary | |
|---|---|
static int |
C_BPARTNERRELATION_ID_AD_Reference_ID
C_BPartnerRelation_ID AD_Reference_ID=138 |
static int |
C_BPARTNERRELATION_LOCATION_ID_AD_Reference_ID
C_BPartnerRelation_Location_ID AD_Reference_ID=159 |
| 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 |
| Constructor Summary | |
|---|---|
X_C_BP_Relation(Properties ctx,
int C_BP_Relation_ID,
String trxName)
Standard Constructor |
|
X_C_BP_Relation(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getC_BP_Relation_ID()
Get Partner Relation. |
int |
getC_BPartner_ID()
Get Business Partner . |
int |
getC_BPartner_Location_ID()
Get Partner Location. |
I_C_BPartner_Location |
getC_BPartner_Location()
|
I_C_BPartner |
getC_BPartner()
|
int |
getC_BPartnerRelation_ID()
Get Related Partner. |
int |
getC_BPartnerRelation_Location_ID()
Get Related Partner Location. |
String |
getDescription()
Get Description. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
String |
getName()
Get Name. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
isBillTo()
Get Invoice Address. |
boolean |
isPayFrom()
Get Pay-From Address. |
boolean |
isRemitTo()
Get Remit-To Address. |
boolean |
isShipTo()
Get Ship Address. |
void |
setC_BP_Relation_ID(int C_BP_Relation_ID)
Set Partner Relation. |
void |
setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner . |
void |
setC_BPartner_Location_ID(int C_BPartner_Location_ID)
Set Partner Location. |
void |
setC_BPartnerRelation_ID(int C_BPartnerRelation_ID)
Set Related Partner. |
void |
setC_BPartnerRelation_Location_ID(int C_BPartnerRelation_Location_ID)
Set Related Partner Location. |
void |
setDescription(String Description)
Set Description. |
void |
setIsBillTo(boolean IsBillTo)
Set Invoice Address. |
void |
setIsPayFrom(boolean IsPayFrom)
Set Pay-From Address. |
void |
setIsRemitTo(boolean IsRemitTo)
Set Remit-To Address. |
void |
setIsShipTo(boolean IsShipTo)
Set Ship Address. |
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 C_BPARTNERRELATION_ID_AD_Reference_ID
public static final int C_BPARTNERRELATION_LOCATION_ID_AD_Reference_ID
| Constructor Detail |
|---|
public X_C_BP_Relation(Properties ctx,
int C_BP_Relation_ID,
String trxName)
public X_C_BP_Relation(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 PO
public I_C_BPartner getC_BPartner()
throws Exception
getC_BPartner in interface I_C_BP_RelationExceptionpublic void setC_BPartner_ID(int C_BPartner_ID)
setC_BPartner_ID in interface I_C_BP_RelationC_BPartner_ID - Identifies a Business Partnerpublic int getC_BPartner_ID()
getC_BPartner_ID in interface I_C_BP_Relation
public I_C_BPartner_Location getC_BPartner_Location()
throws Exception
getC_BPartner_Location in interface I_C_BP_RelationExceptionpublic void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
setC_BPartner_Location_ID in interface I_C_BP_RelationC_BPartner_Location_ID - Identifies the (ship to) address for this Business Partnerpublic int getC_BPartner_Location_ID()
getC_BPartner_Location_ID in interface I_C_BP_Relationpublic void setC_BPartnerRelation_ID(int C_BPartnerRelation_ID)
setC_BPartnerRelation_ID in interface I_C_BP_RelationC_BPartnerRelation_ID - Related Business Partnerpublic int getC_BPartnerRelation_ID()
getC_BPartnerRelation_ID in interface I_C_BP_Relationpublic void setC_BPartnerRelation_Location_ID(int C_BPartnerRelation_Location_ID)
setC_BPartnerRelation_Location_ID in interface I_C_BP_RelationC_BPartnerRelation_Location_ID - Location of the related Business Partnerpublic int getC_BPartnerRelation_Location_ID()
getC_BPartnerRelation_Location_ID in interface I_C_BP_Relationpublic void setC_BP_Relation_ID(int C_BP_Relation_ID)
setC_BP_Relation_ID in interface I_C_BP_RelationC_BP_Relation_ID - Business Partner Relationpublic int getC_BP_Relation_ID()
getC_BP_Relation_ID in interface I_C_BP_Relationpublic void setDescription(String Description)
setDescription in interface I_C_BP_RelationDescription - Optional short description of the recordpublic String getDescription()
getDescription in interface I_C_BP_Relationpublic void setIsBillTo(boolean IsBillTo)
setIsBillTo in interface I_C_BP_RelationIsBillTo - Business Partner Invoice/Bill Addresspublic boolean isBillTo()
isBillTo in interface I_C_BP_Relationpublic void setIsPayFrom(boolean IsPayFrom)
setIsPayFrom in interface I_C_BP_RelationIsPayFrom - Business Partner pays from that address and we'll send dunning letters therepublic boolean isPayFrom()
isPayFrom in interface I_C_BP_Relationpublic void setIsRemitTo(boolean IsRemitTo)
setIsRemitTo in interface I_C_BP_RelationIsRemitTo - Business Partner payment addresspublic boolean isRemitTo()
isRemitTo in interface I_C_BP_Relationpublic void setIsShipTo(boolean IsShipTo)
setIsShipTo in interface I_C_BP_RelationIsShipTo - Business Partner Shipment Addresspublic boolean isShipTo()
isShipTo in interface I_C_BP_Relationpublic void setName(String Name)
setName in interface I_C_BP_RelationName - Alphanumeric identifier of the entitypublic String getName()
getName in interface I_C_BP_Relationpublic KeyNamePair getKeyNamePair()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||