Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface DeliveryContextAttribute


public interface DeliveryContextAttribute

Method Summary
 void addValue(java.lang.String value)
          Add a value to the list of values.
 boolean getBoolean()
          Get value as Boolean;
 java.lang.Long getId()
          Returns the unique id for the attribute.
 java.lang.String[] getListOfString()
          Get value as list of strings.
 java.lang.String getName()
          Get the name of the attribute.
 java.lang.String getString()
          Get value as String.
 boolean isBoolean()
          Returns whether the attribute is of boolean type.
 boolean isListOfString()
          Returns whether the attribute is of LOV type.
 boolean isOrdered()
          Returns whether the list of values is ordered.
 boolean isString()
          Returns whether the attribute is of String type.
 void removeValue(java.lang.String value)
          Remove a value from the list of values.
 void setValues(java.lang.String[] values)
          Sets the values for the delivery context attribute to the given values inside the string array.

 

Method Detail

addValue

public void addValue(java.lang.String value)
Add a value to the list of values.

getBoolean

public boolean getBoolean()
Get value as Boolean;
Returns:
The value of the attribute as boolean.
See Also:
isBoolean()

getId

public java.lang.Long getId()
Returns the unique id for the attribute.

getListOfString

public java.lang.String[] getListOfString()
Get value as list of strings.
Returns:
The value of the attribute as LOV.
See Also:
isListOfString()

getName

public java.lang.String getName()
Get the name of the attribute.
Returns:
The name of the attribute.

getString

public java.lang.String getString()
Get value as String.
Returns:
The value of the attribute as string.
See Also:
isString()

isBoolean

public boolean isBoolean()
Returns whether the attribute is of boolean type.
Returns:
True if the type of the attribute is boolean. False otherwise.
See Also:
getBoolean()

isListOfString

public boolean isListOfString()
Returns whether the attribute is of LOV type.
Returns:
True if the type of the attribute is LOV. False otherwise.
See Also:
getListOfString()

isOrdered

public boolean isOrdered()
Returns whether the list of values is ordered.

isString

public boolean isString()
Returns whether the attribute is of String type.
Returns:
True if the type of the attribute is string. False otherwise.
See Also:
getString()

removeValue

public void removeValue(java.lang.String value)
Remove a value from the list of values.

setValues

public void setValues(java.lang.String[] values)
Sets the values for the delivery context attribute to the given values inside the string array. Invocation of this method will cause all the old values to be deleted and the new values passed in be stored for the attribute.
Parameters:
values - The new values array in forms of string array.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.