public class ValueDomainPropertyBundleDefinition extends PropertyBundleDefinition
LibraryObjectDefinition.EnumToIntegerCode, LibraryObjectDefinition.LookupByName
m_Attributes, m_ClassObjectName, m_ClassObjectValue, m_ContentSpecifications, m_DefinitionLists, m_Definitions, m_EnclosedDefinition, m_Id, m_Options, m_ReadOnly, m_ReferenceAttributes, m_Session, m_SystemOptions
Constructor and Description |
---|
ValueDomainPropertyBundleDefinition(LibrarySessionInterface session)
Constructs a Definition explicitly capturing the
session.
|
ValueDomainPropertyBundleDefinition(LibrarySessionInterface session,
String className)
Constructs a Definition, explicitly capturing the
session and setting the initial classobject.
|
Modifier and Type | Method and Description |
---|---|
void |
copyInto(LibraryObjectDefinition lodef)
Copy the contents of the target Definition into the specified
Definition.
|
AttributeValue |
getPropertyValue()
Gets the values allowed for the new ValueDomainPropertyBundle, as an
array-type AttributeValue.
|
void |
setEnumeratedValues(Date[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(DirectoryObject[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(int[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(Integer[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(long[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(Long[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(PublicObject[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(SchemaObject[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(String[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setEnumeratedValues(SystemObject[] values)
Sets the allowed values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMaximumValue(Date maximum)
Sets the maximum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMaximumValue(double maximum)
Sets the maximum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMaximumValue(Double maximum)
Sets the maximum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMaximumValue(int maximum)
Sets the maximum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMaximumValue(Integer maximum)
Sets the maximum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMaximumValue(long maximum)
Sets the maximum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMaximumValue(Long maximum)
Sets the maximum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMinimumValue(Date minimum)
Sets the minimum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMinimumValue(double minimum)
Sets the minimum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMinimumValue(Double minimum)
Sets the minimum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMinimumValue(int minimum)
Sets the minimum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMinimumValue(Integer minimum)
Sets the minimum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMinimumValue(long minimum)
Sets the minimum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveMinimumValue(Long minimum)
Sets the minimum (exclusive) values for the new ValueDomainPropertyBundle.
|
void |
setExclusiveValueRange(Date minimum,
Date maximum)
Sets the minimum (exclusive) and maximum (exclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setExclusiveValueRange(double minimum,
double maximum)
Sets the minimum (exclusive) and maximum (exclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setExclusiveValueRange(Double minimum,
Double maximum)
Sets the minimum (exclusive) and maximum (exclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setExclusiveValueRange(Integer minimum,
Integer maximum)
Sets the minimum (exclusive) and maximum (exclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setExclusiveValueRange(int minimum,
int maximum)
Sets the minimum (exclusive) and maximum (exclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setExclusiveValueRange(long minimum,
long maximum)
Sets the minimum (exclusive) and maximum (exclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setExclusiveValueRange(Long minimum,
Long maximum)
Sets the minimum (exclusive) and maximum (exclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setMaximumValue(Date maximum)
Sets the maximum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMaximumValue(double maximum)
Sets the maximum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMaximumValue(Double maximum)
Sets the maximum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMaximumValue(int maximum)
Sets the maximum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMaximumValue(Integer maximum)
Sets the maximum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMaximumValue(long maximum)
Sets the maximum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMaximumValue(Long maximum)
Sets the maximum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMinimumValue(Date minimum)
Sets the minimum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMinimumValue(double minimum)
Sets the minimum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMinimumValue(Double minimum)
Sets the minimum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMinimumValue(int minimum)
Sets the minimum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMinimumValue(Integer minimum)
Sets the minimum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMinimumValue(long minimum)
Sets the minimum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setMinimumValue(Long minimum)
Sets the minimum (inclusive) values for the new ValueDomainPropertyBundle.
|
void |
setValueRange(Date minimum,
Date maximum)
Sets the minimum (inclusive) and maximum (inclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setValueRange(double minimum,
double maximum)
Sets the minimum (inclusive) and maximum (inclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setValueRange(Double minimum,
Double maximum)
Sets the minimum (inclusive) and maximum (inclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setValueRange(Integer minimum,
Integer maximum)
Sets the minimum (inclusive) and maximum (inclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setValueRange(int minimum,
int maximum)
Sets the minimum (inclusive) and maximum (inclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setValueRange(long minimum,
long maximum)
Sets the minimum (inclusive) and maximum (inclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setValueRange(Long minimum,
Long maximum)
Sets the minimum (inclusive) and maximum (inclusive) allowed values
for the new ValueDomainPropertyBundle.
|
void |
setValues(int domainType,
AttributeValue av)
Sets the domain type, data type, and values of the new
ValueDomainPropertyBundle.
|
static ValueDomainPropertyBundleDefinition |
toValueDomainPropertyBundleDefinition(LibraryObjectDefinition lodef)
Cast specified LibraryObjectDefinition to a ValueDomainPropertyBundleDefinition.
|
static ValueDomainPropertyBundleDefinition |
toValueDomainPropertyBundleDefinition(LibraryObjectDefinition lodef,
boolean enforceCompat)
Cast specified LibraryObjectDefinition to a ValueDomainPropertyBundleDefinition.
|
addPropertyDefinition, addPropertyDefinition, addPropertyDefinitions, addPropertyDefinitions, addPropertyValue, addPropertyValue, applySettings, getPropertyDefinitions, removePropertyDefinitions, setPropertyDefinitions, toPropertyBundleDefinition
addCategoryDefinition, addCategoryDefinition, addCategoryDefinitions, addCategoryDefinitions, getAddToFolderOption, getAddToFolderValue, getAutoFolderingActionSpecification, getCascadeCopyRelationshipsOption, getCascadeCopyRelationshipsOptionValue, getCategoryCopyOption, getCategoryDefinitions, getContentQuotaCopyOption, getCreateCategoriesServerSideOption, getExplicitCreateAndModifyAttributesOption, getExplicitCreateDate, getExplicitLastModifyDate, getFreeIfLastFolderReferenceOption, getKeepLastModifierOption, getKeepLastModifyDateOption, getLockEntryDefinition, getLockObject, getLockObjectDefinition, getLockObjectValue, getSecuringPublicObject, getSecuringPublicObjectValue, getUpdatedLockObjectDefinition, removeCategoryDefinitions, removeLockEntryDefinition, resolveAutoFolderingSettings, setAddToFolderOption, setAddToFolderValue, setAutoFolderingActionSpecification, setAutoFolderingActionSpecification, setCascadeCopyRelationshipsOption, setCategoryCopyOption, setCategoryDefinitions, setContentQuotaCopyOption, setCreateCategoriesServerSideOption, setExplicitCreateAndModifyAttributesOption, setExplicitCreateDate, setExplicitLastModifyDate, setFreeIfLastFolderReferenceOption, setKeepLastModifierOption, setKeepLastModifyDateOption, setLockEntryDefinition, setLockObject, setLockObjectDefinition, setLockObjectValue, setNullSecurity, setPrivateSecurity, setPublishedSecurity, setSecuringPublicObject, setSecuringPublicObjectValue, setUpdatedLockObjectDefinition, toPublicObjectDefinition, toPublicObjectDefinition
addDefinition, addDefinitions, addProperty, addSimplePropertyDefinition, addSimplePropertyDefinition, addSimplePropertyDefinitions, addSimplePropertyDefinitions, applyEnumSetting, applyEnumSetting, applyMapSetting, applyMapSetting, applyObjectArraySetting, applyObjectArraySetting, applyObjectSetting, applyObjectSetting, applySetting, applySetting, captureSession, captureSession, captureSession, clone, constructInstance, constructInstance, constructInstance, deriveObjectArraySetting, deriveObjectSetting, getAttribute, getAttribute, getAttributes, getAttributes, getAttributesSorted, getClassId, getClassObject, getClassObjectValue, getContentSpecification, getContentSpecificationKeys, getCopiedObjectValue, getDefinition, getDefinitionClassName, getDefinitionKeys, getDefinitionListKeys, getDefinitions, getId, getLibrarySession, getName, getOption, getOptionAsAttributeValue, getOptionKeys, getPolicyMode, getReferenceAttribute, getReferenceAttributes, getServerDefinition, getSession, getSimplePropertyDefinitions, getSLibrarySession, getStringAttribute, getSystemOption, getSystemOptionAsAttributeValue, getSystemOptionAsBoolean, getSystemOptionKeys, getWriteableInstance, isReadOnly, prepareForDefinitionObject, processSimplePropertiesForCreate, processSimplePropertiesForUpdate, removeAttribute, removeContentSpecification, removeDefinition, removeDefinitions, removeOption, removeReferenceAttribute, removeSimplePropertyDefinitions, removeSystemOption, reset, resolve, setAttribute, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributeByUpperCaseName, setAttributePolicyMode, setAttributes, setClassId, setClassname, setClassObject, setClassObjectValue, setContentSpecification, setCopiedObjectValue, setDefinition, setDefinitions, setId, setName, setOption, setReadOnly, setReferenceAttribute, setReferenceAttribute, setSession, setSimplePropertyDefinitions, setSystemOption, unresolve, verifySession
public ValueDomainPropertyBundleDefinition(LibrarySessionInterface session) throws IfsException
session
- the current sessionIfsException
- if the operation failspublic ValueDomainPropertyBundleDefinition(LibrarySessionInterface session, String className) throws IfsException
session
- the current sessionclassName
- the initial class nameIfsException
- if the operation failspublic void copyInto(LibraryObjectDefinition lodef) throws IfsException
copyInto
in class LibraryObjectDefinition
lodef
- The definition which gets set with the
information contained in the target definitionIfsException
- if the operation failspublic final void setEnumeratedValues(int[] values) throws IfsException
The new ValueDomainPropertyBundle will have an INTEGER
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(Integer[] values) throws IfsException
The new ValueDomainPropertyBundle will have an INTEGER
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(long[] values) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(Long[] values) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(String[] values) throws IfsException
The new ValueDomainPropertyBundle will have a STRING
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(Date[] values) throws IfsException
The new ValueDomainPropertyBundle will have a DATE
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(SchemaObject[] values) throws IfsException
The new ValueDomainPropertyBundle will have a SCHEMAOBJECT
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(SystemObject[] values) throws IfsException
The new ValueDomainPropertyBundle will have a SYSTEMOBJECT
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(PublicObject[] values) throws IfsException
The new ValueDomainPropertyBundle will have a PUBLICOBJECT
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setEnumeratedValues(DirectoryObject[] values) throws IfsException
The new ValueDomainPropertyBundle will have a DIRECTORYOBJECT
data type and a domain type of VALUEDOMAINTYPE_ENUMERATED
.
values
- the valuesIfsException
- if the operation failspublic final void setValueRange(int minimum, int maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setValueRange(Integer minimum, Integer maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setValueRange(long minimum, long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setValueRange(Long minimum, Long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setValueRange(double minimum, double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setValueRange(Double minimum, Double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setValueRange(Date minimum, Date maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DATE
data type and a domain type of VALUEDOMAINTYPE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setMinimumValue(int minimum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setMinimumValue(Integer minimum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setMinimumValue(long minimum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setMinimumValue(Long minimum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setMinimumValue(double minimum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setMinimumValue(Double minimum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setMinimumValue(Date minimum) throws IfsException
The new ValueDomainPropertyBundle will have a DATE
data type and a domain type of VALUEDOMAINTYPE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setMaximumValue(int maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setMaximumValue(Integer maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setMaximumValue(long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setMaximumValue(Long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setMaximumValue(double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setMaximumValue(Double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setMaximumValue(Date maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DATE
data type and a domain type of VALUEDOMAINTYPE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveValueRange(int minimum, int maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveValueRange(Integer minimum, Integer maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveValueRange(long minimum, long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveValueRange(Long minimum, Long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveValueRange(double minimum, double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveValueRange(Double minimum, Double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveValueRange(Date minimum, Date maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DATE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_RANGE
.
minimum
- the minimum valuemaximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveMinimumValue(int minimum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setExclusiveMinimumValue(Integer minimum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setExclusiveMinimumValue(long minimum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setExclusiveMinimumValue(Long minimum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setExclusiveMinimumValue(double minimum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setExclusiveMinimumValue(Double minimum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setExclusiveMinimumValue(Date minimum) throws IfsException
The new ValueDomainPropertyBundle will have a DATE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MINIMUM
.
minimum
- the minimum valueIfsException
- if the operation failspublic final void setExclusiveMaximumValue(int maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveMaximumValue(Integer maximum) throws IfsException
The new ValueDomainPropertyBundle will have a INTEGER
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveMaximumValue(long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveMaximumValue(Long maximum) throws IfsException
The new ValueDomainPropertyBundle will have a LONG
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveMaximumValue(double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveMaximumValue(Double maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DOUBLE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic final void setExclusiveMaximumValue(Date maximum) throws IfsException
The new ValueDomainPropertyBundle will have a DATE
data type and a domain type of VALUEDOMAINTYPE_EXCLUSIVE_MAXIMUM
.
maximum
- the maximum valueIfsException
- if the operation failspublic AttributeValue getPropertyValue() throws IfsException
The number of elements in the array-type AttributeValue depends on the domain type of the new ValueDomainPropertyBundle:
VALUEDOMAINTYPE_ENUMERATED
:
one element for each allowed value
VALUEDOMAINTYPE_RANGE
or VALUEDOMAINTYPE_ENUMERATED_RANGE
:
two elements; [0] is the minimum and [1] is the maximum value
VALUEDOMAINTYPE_MINIMUM
or VALUEDOMAINTYPE_ENUMERATED_MINIMUM
:
one element; [0] is the minimum value
VALUEDOMAINTYPE_MAXIMUM
or VALUEDOMAINTYPE_ENUMERATED_MAXIMUM
:
one element; [0] is the maximum value
IfsException
- if the operation failspublic final void setValues(int domainType, AttributeValue av) throws IfsException
domainType
- the domain type, one of the constants
defined in oracle.ifs.beans.ValueDomainav
- the values; implies the data type. Must be
have an array data type.IfsException
- if the operation failspublic static ValueDomainPropertyBundleDefinition toValueDomainPropertyBundleDefinition(LibraryObjectDefinition lodef) throws IfsException
Return null if the specified definition is not a ValueDomainPropertyBundleDefinition, or if the specified definition is null.
lodef
- the definition to be castedIfsException
- is not currently thrown.public static ValueDomainPropertyBundleDefinition toValueDomainPropertyBundleDefinition(LibraryObjectDefinition lodef, boolean enforceCompat) throws IfsException
Return null if the specified definition is null. If non-null and unable to cast, return null if enforceCompat is false but throw an IfsException if the specified definition is not a ValueDomainPropertyBundleDefinition.
lodef
- the definition to be castedenforceCompat
- whether to throw an exception if
a non-null definition cannot be castIfsException
- (IFS-10822) if operation fails.Copyright © 2023. All rights reserved.