public class Address extends Object
Constructor and Description |
---|
Address(BusinessObject addressBO,
boolean isMainAddress,
boolean isShipToAddress,
boolean isBillToAddress) |
Modifier and Type | Method and Description |
---|---|
BusinessObject |
getAddressBO() |
Object |
getAddressDataAttribute(String attributeURI)
To get the value of a address data attribute by attribute URI.
|
String |
getAddressRelationAttributeErpId(String attributeURI)
To get the ERPID of a address relation attribute by attribute URI.
|
String |
getAddressRelationAttributeObjectId(String attributeURI)
To get the object Id of a address relation attribute by attribute URI.
|
String |
getAddressRelationAttributeObjectName(String attributeURI)
To get the object name of a address relation attribute by attribute URI.
|
String |
getAddressRelationAttributeURI(String attributeURI)
To get the URI of a address relation attribute by attribute URI.
|
boolean |
isBillToAddress() |
boolean |
isMainAddress() |
boolean |
isShipToAddress() |
Address |
setAddressDataAttribute(String attributeURI,
Object value)
To set a value for the address data attribute.
|
Address |
setAddressRelationAttribute(String attributeURI,
String valueURI)
To set a value for the address relation attribute.
|
public Address(BusinessObject addressBO, boolean isMainAddress, boolean isShipToAddress, boolean isBillToAddress)
public BusinessObject getAddressBO()
public Object getAddressDataAttribute(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the address data attribute.IMCException
public String getAddressRelationAttributeErpId(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the address relation attribute.IMCException
public String getAddressRelationAttributeObjectId(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the address relation attribute.IMCException
public String getAddressRelationAttributeObjectName(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the address relation attribute.IMCException
public String getAddressRelationAttributeURI(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the address relation attribute.IMCException
public boolean isBillToAddress()
public boolean isMainAddress()
public boolean isShipToAddress()
public Address setAddressDataAttribute(String attributeURI, Object value) throws IMCException
attributeURI
- as String. The URI of the address data attribute.value
- as Object. The value for the address data attribute.Address
instance.IMCException
- the platform exceptionpublic Address setAddressRelationAttribute(String attributeURI, String valueURI) throws IMCException
attributeURI
- as String. The URI of the address relation attribute.valueURI
- as String. The value for the address relation attribute.Address
instance.IMCException
- the platform exception