Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Interface DeliveryContextAttribute

All Superinterfaces:
oracle.panama.xhtml.XDeliveryContextAttribute

public interface DeliveryContextAttribute
extends oracle.panama.xhtml.XDeliveryContextAttribute

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.

 

Methods inherited from interface oracle.panama.xhtml.XDeliveryContextAttribute
getXMLElement

 

Method Detail

isString

public boolean isString()
Returns whether the attribute is of String type.
Specified by:
isString in interface oracle.panama.xhtml.XDeliveryContextAttribute
Returns:
True if the type of the attribute is string. False otherwise.
See Also:
getString()

isBoolean

public boolean isBoolean()
Returns whether the attribute is of boolean type.
Specified by:
isBoolean in interface oracle.panama.xhtml.XDeliveryContextAttribute
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.
Specified by:
isListOfString in interface oracle.panama.xhtml.XDeliveryContextAttribute
Returns:
True if the type of the attribute is LOV. False otherwise.
See Also:
getListOfString()

getString

public java.lang.String getString()
Get value as String.
Specified by:
getString in interface oracle.panama.xhtml.XDeliveryContextAttribute
Returns:
The value of the attribute as string.
See Also:
isString()

getBoolean

public boolean getBoolean()
Get value as Boolean;
Specified by:
getBoolean in interface oracle.panama.xhtml.XDeliveryContextAttribute
Returns:
The value of the attribute as boolean.
See Also:
isBoolean()

getListOfString

public java.lang.String[] getListOfString()
Get value as list of strings.
Specified by:
getListOfString in interface oracle.panama.xhtml.XDeliveryContextAttribute
Returns:
The value of the attribute as LOV.
See Also:
isListOfString()

getName

public java.lang.String getName()
Get the name of the attribute.
Specified by:
getName in interface oracle.panama.xhtml.XDeliveryContextAttribute
Returns:
The name of the attribute.

isOrdered

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

addValue

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

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.

getId

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

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.