Overview

Holds a set of modifications to be applied to an AttributeDefinition. Notes:

For Minimum and Maximum values only Number and Date types are supported.

An attribute definition can hold a scalar value or a list of values. This behavior is defined by setting the Aggregate field of the attribute definition at creation time. Switching from scalar to list and vice versa is not supported and hence calling setAggregate() as part of an update operation will result in an IllegalArgumentException from the underlying implementation.

Members

Show inherited members

Name Type Description

aggregate

boolean

Flag to indicate whether the AttributeDefinition can hold a list of values. This should only be set at creation time.

allowedValuesUpdater

collabPropertiesUpdater

CollabPropertiesUpdater to add or remove allowedValues for the AttributeDefinition.

defaultValue

anyType

Default value for the AttributeDefinition.

description

string

Description for the AttributeDefinition.

maximumValue

anyType

The Maximum Value, which must be a number or date

maximumValueInclusive

boolean

If true, this indicates that the MaximumValue is inclusive. Only applies for date/number types

minimumValue

anyType

The Minumum Value, which must be a number or date

minimumValueInclusive

boolean

If true, this indicates that the Minimum Value is inclusive. Only applies for date/number types

name

string

Name for the Attribute Definition.

searchable

boolean

Flag to indicate whether the AttributeDefinition is searchable.

type

propertyType

Property type for the AttributeDefinition.

Hierarchy

Inherits From

Examples

Below are examples in 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:attributeDefinitionUpdater xsi:type="obh:attributeDefinitionUpdater" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <aggregate>your_boolean_0</aggregate>
        <allowedValuesUpdater>your_collabPropertiesUpdater_0</allowedValuesUpdater>
        <defaultValue>your_anyType_0</defaultValue>
        <description>your_string_0</description>
        <maximumValue>your_anyType_0</maximumValue>
        <maximumValueInclusive>your_boolean_0</maximumValueInclusive>
        <minimumValue>your_anyType_0</minimumValue>
        <minimumValueInclusive>your_boolean_0</minimumValueInclusive>
        <name>your_string_0</name>
        <searchable>your_boolean_0</searchable>
        <type>your_propertyType_0</type>
</obh:attributeDefinitionUpdater>

Referenced By Representaions