Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

This class defines a preference property. Objects of this class are immutable. A preference property stores a preference setting for a preference set that can override the setting on another preference set.

The type of a preference property's value may only be one of those listed in . Values of the *_LIST types must be specified as an appropriate java.util.List<java.io.Serializable>. Individual values in *_LIST must be of the same type.

Preference property values may be 1 to 4000 bytes in size.

Preference property naming guidelines

Good examples are

Members

Name Type Required Description

final

boolean

Whether this property is non-overrideable in preference sets that inherit from this property's preference set.

format

string

Optional format string for the property value.

multiValue

list

name

string

Name of the property.

singleValue

anyType

Hierarchy

Examples

Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:preferenceProperty xsi:type="obh:preferenceProperty" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:final>your_boolean_0</obh:final>
        <obh:format>your_string_0</obh:format>
        <obh:multiValue>your_list_0</obh:multiValue>
        <obh:name>your_string_0</obh:name>
        <obh:singleValue>your_anyType_0</obh:singleValue>
</obh:preferenceProperty>

JSON Example

(show inherited members)

{
    "beeType":"preferenceProperty",
        "final":your_{http://www.oracle.com/beehive}final_as_boolean0,
        "format":"your_{http://www.oracle.com/beehive}format_as_string0",
        "multiValue":{ your_{http://www.oracle.com/beehive}multiValue_as_list0 },
        "name":"your_{http://www.oracle.com/beehive}name_as_string0",
        "singleValue":"your_{http://www.oracle.com/beehive}singleValue_as_anyType0"
}

XML Schema


<xs:complexType final="extension restriction" name="preferenceProperty">
    <xs:sequence>
        <xs:element name="final" type="xs:boolean"/>
        <xs:element minOccurs="0" name="format" type="xs:string"/>
        <xs:element minOccurs="0" name="multiValue" type="tns:list"/>
        <xs:element minOccurs="0" name="name" type="xs:string"/>
        <xs:element minOccurs="0" name="singleValue" type="xs:anyType"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to preferenceProperty

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions