Java Client API Reference 6.0.2.61

com.baan.b3.boi1.metadata
Interface IPrimalMemberMetadata

All Superinterfaces:
IMemberMetadata

public interface IPrimalMemberMetadata
extends IMemberMetadata

Describes a primal member of a BusinessObject.

Version:
Build Nr 61, file version \\main\\3, 15:09:07 24-07-2006 UTC
See Also:
IBusinessObjectMetadata

Fields inherited from interface com.baan.b3.boi1.metadata.IMemberMetadata
INFINITE_CARDINALITY
 
Method Summary
 java.lang.Object getValueToString(java.lang.Object p_instance)
          Retrieves the value of this member for a specified Business Object.
 void setValueFromString(java.lang.Object p_instance, java.lang.Object p_value)
          Sets the value of this member for a specified Business Object.
 
Methods inherited from interface com.baan.b3.boi1.metadata.IMemberMetadata
getCardinalityMax, getCardinalityMin, getDescription, getName, getType, getValue, isAttribute, isReadOnly, setValue
 

Method Detail

getValueToString

public java.lang.Object getValueToString(java.lang.Object p_instance)
                                  throws java.lang.IllegalArgumentException
Retrieves the value of this member for a specified Business Object.
Preconditions: p_instance is in a valid state
Threading policy: Unsafe
Parameters:
p_instance - the Business Object for which this member should be queried
Returns:
the value of this member for p_instance, or null if it is not defined. Values are returned as java.lang.Strings. Values for members with a maximum cardinality greater than 1 are returned as an array of strings (this array may be empty)
Throws:
java.lang.IllegalArgumentException - if p_instance is null or not of the right Business Object type.

setValueFromString

public void setValueFromString(java.lang.Object p_instance,
                               java.lang.Object p_value)
                        throws java.lang.IllegalArgumentException
Sets the value of this member for a specified Business Object.
Preconditions: p_instance is in a valid state
Postconditions: p_instance's member (described by this metadata object) has been set to the specified value
Threading policy: Unsafe
Parameters:
p_instance - the Business Object for which this member should be set
p_value - the value to set for this member in p_instance. null can be used to indicate the absence of an optional member. Values should be passed using java.lang.Strings. Values for members with a maximum cardinality greater than 1 are passed as an array of strings (the array may be empty).
Throws:
java.lang.IllegalArgumentException - if p_instance is null or either argument is of the wrong type

Java Client API Reference 6.0.2.61

Visit the SSA Global website for more information.