public class ValueDefaultPropertyBundleDefinition 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 |
---|
ValueDefaultPropertyBundleDefinition(LibrarySessionInterface session)
Construct a definition explicitly capturing the
session.
|
ValueDefaultPropertyBundleDefinition(LibrarySessionInterface session,
String className)
Construct a definition, explicitly capturing the
session and setting the initial classobject.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue |
getPropertyValue()
Gets the value of the new ValueDefaultPropertyBundleDefinition,
as an AttributeValue.
|
void |
setValue(AttributeValue av)
Sets the value and data type of the new ValueDefaultPropertyBundle.
|
void |
setValue(boolean value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Boolean value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(boolean[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Boolean[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Date value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Date[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(DirectoryObject value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(DirectoryObject[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(double value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Double value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(double[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Double[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(int value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(int[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Integer value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Integer[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(long value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Long value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(long[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(Long[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(PublicObject value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(PublicObject[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(SchemaObject value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(SchemaObject[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(String value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(String[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(SystemObject value)
Sets the value of the new ValueDefaultPropertyBundle.
|
void |
setValue(SystemObject[] value)
Sets the value of the new ValueDefaultPropertyBundle.
|
static ValueDefaultPropertyBundleDefinition |
toValueDefaultPropertyBundleDefinition(LibraryObjectDefinition lodef)
Cast specified LibraryObjectDefinition to a ValueDefaultPropertyBundleDefinition.
|
static ValueDefaultPropertyBundleDefinition |
toValueDefaultPropertyBundleDefinition(LibraryObjectDefinition lodef,
boolean enforceCompat)
Cast specified LibraryObjectDefinition to a ValueDefaultPropertyBundleDefinition.
|
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, copyInto, 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 ValueDefaultPropertyBundleDefinition(LibrarySessionInterface session) throws IfsException
session
- the current sessionIfsException
- if the operation failspublic ValueDefaultPropertyBundleDefinition(LibrarySessionInterface session, String className) throws IfsException
session
- the current sessionclassName
- the initial class nameIfsException
- if the operation failspublic final void setValue(int value) throws IfsException
The new ValueDefaultPropertyBundle will have an
INTEGER
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Integer value) throws IfsException
The new ValueDefaultPropertyBundle will have an
INTEGER
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(long value) throws IfsException
The new ValueDefaultPropertyBundle will have a
LONG
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Long value) throws IfsException
The new ValueDefaultPropertyBundle will have a
LONG
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(double value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DOUBLE
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Double value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DOUBLE
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(boolean value) throws IfsException
The new ValueDefaultPropertyBundle will have a
BOOLEAN
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Boolean value) throws IfsException
The new ValueDefaultPropertyBundle will have a
BOOLEAN
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(String value) throws IfsException
The new ValueDefaultPropertyBundle will have a
STRING
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Date value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DATE
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(SchemaObject value) throws IfsException
The new ValueDefaultPropertyBundle will have a
SCHEMAOBJECT
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(SystemObject value) throws IfsException
The new ValueDefaultPropertyBundle will have a
SYSTEMOBJECT
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(PublicObject value) throws IfsException
The new ValueDefaultPropertyBundle will have a
PUBLICOBJECT
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(DirectoryObject value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DIRECTORYOBJECT
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(int[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
INTEGER_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Integer[] value) throws IfsException
The new ValueDefaultPropertyBundle will have an
INTEGER_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(long[] value) throws IfsException
The new ValueDefaultPropertyBundle will have an
LONG_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Long[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
LONG_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(double[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DOUBLE_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Double[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DOUBLE_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(boolean[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
BOOLEAN_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Boolean[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
BOOLEAN_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(String[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
STRING_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(Date[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DATE_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(SchemaObject[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
SCHEMAOBJECT_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(SystemObject[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
SYSTEMOBJECT_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(PublicObject[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
PUBLICOBJECT_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic final void setValue(DirectoryObject[] value) throws IfsException
The new ValueDefaultPropertyBundle will have a
DIRECTORYOBJECT_ARRAY
data type.
value
- the valueIfsException
- if the operation failspublic AttributeValue getPropertyValue() throws IfsException
IfsException
- if the operation failspublic void setValue(AttributeValue av) throws IfsException
av
- the new value; implies the data typeIfsException
- if the operation failspublic static ValueDefaultPropertyBundleDefinition toValueDefaultPropertyBundleDefinition(LibraryObjectDefinition lodef) throws IfsException
Return null if the specified definition is not a ValueDefaultPropertyBundleDefinition, or if the specified definition is null.
lodef
- the definition to be castedIfsException
- is not currently thrown.public static ValueDefaultPropertyBundleDefinition toValueDefaultPropertyBundleDefinition(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 ValueDefaultPropertyBundleDefinition.
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.