|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Describes a member of a BusinessObject.
IBusinessObjectMetadata| Field Summary | |
static int |
INFINITE_CARDINALITY
Constant that indicates an unlimited maximum cardinality. |
| Method Summary | |
int |
getCardinalityMax()
Gives the maximum cardinality for this member. |
int |
getCardinalityMin()
Gives the minimum cardinality for this member. |
java.lang.String[] |
getDescription()
Gets a description of this member. |
java.lang.String |
getName()
Gives the identifier of this member. |
IObjectMetadata |
getType()
Gives the type of this member. |
java.lang.Object |
getValue(java.lang.Object p_instance)
Retrieves the value of this member for a specified Business Object. |
boolean |
isAttribute()
Reveals wether this member is an Element or an Attribute. |
boolean |
isReadOnly()
Gets the read only flag of this member. |
void |
setValue(java.lang.Object p_instance,
java.lang.Object p_value)
Sets the value of this member for a specified Business Object. |
| Field Detail |
public static final int INFINITE_CARDINALITY
| Method Detail |
public java.lang.String getName()
public IObjectMetadata getType()
public int getCardinalityMax()
INFINITE_CARDINALITY indicates that
there is no maximumpublic int getCardinalityMin()
public java.lang.Object getValue(java.lang.Object p_instance)
throws java.lang.IllegalArgumentException
p_instance - the Business Object for which this member should be
queriedjava.lang.IllegalArgumentException - if p_instance is
null or not of the right Business Object type.
public void setValue(java.lang.Object p_instance,
java.lang.Object p_value)
throws java.lang.IllegalArgumentException
p_instance - the Business Object for which this member should be
setp_value - the value to set for this member in p_instance.
null can be used to indicate the absence of an optional
member. Primal values that map to primitive java types should be
passed using the standard java object wrappers (eg. an
int is passed as a java.lang.Integer object).
Values for members with a maximum cardinality greater than 1 are
passed as an array of the relevant type (the array may be empty).java.lang.IllegalArgumentException - if p_instance is
null or either argument is of the wrong typepublic java.lang.String[] getDescription()
public boolean isReadOnly()
public boolean isAttribute()
|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||