public abstract class AttributeValueMap extends AttributeValue
AttributeValueMap is an abstract class.
Modifier and Type | Field and Description |
---|---|
protected long |
m_AttributeId
The ID of the Attribute.
|
protected int |
m_Count
The number of elements in this AttributeValue's map.
|
protected long |
m_ObjectId
The ID of the LibraryObject for which this AttributeValue
represents the value of one of its Attributes.
|
protected oracle.ifs.common.AttributeValueMap.SharedFlag |
m_ResolvedFlag
Whether the elements of this AttributeValueMap have been retrieved
from the database.
|
LONG_ZERO, m_Name, m_Options, OPTION_ARRAY_APPEND_MODE, OPTION_ARRAY_PREVENT_DUPLICATES, OPTION_ARRAY_REMOVE_MODE, OPTION_LITERAL_ARRAY_BIND_VALUE, OPTION_MAP_PUT_MODE, OPTION_MAP_REMOVE_MODE, OPTION_TRANSIENT
Modifier | Constructor and Description |
---|---|
protected |
AttributeValueMap()
Constructs an AttrbuteValueArray.
|
protected |
AttributeValueMap(long objectId,
Long attributeId,
int count)
Constructs an AttributeValueMap.
|
Modifier and Type | Method and Description |
---|---|
int |
getElementCount()
Gets the number of elements in a map-type AttributeValue.
|
boolean |
isNullValue()
Gets whether this AttributeValue is null.
|
protected void |
loadElements(AttributeValue source)
Copies the elements from the specified AttributeValue to this
AttributeValue.
|
AttributeValue |
processResultSet(ResultSet rset)
Processes the result set containing the elements of the map-type
AttributeValue.
|
protected void |
resolve(LibrarySessionInterface session)
Ensures that the elements of this AttributeValue have been loaded from
the database.
|
added, arrayToHashtable, canPurge, clone, compareTo, convertToBoolean, convertToBooleanArray, convertToBooleanObject, convertToBooleanObjectArray, convertToDate, convertToDateArray, convertToDirectoryObject, convertToDirectoryObjectArray, convertToDouble, convertToDoubleArray, convertToDoubleObject, convertToDoubleObjectArray, convertToInteger, convertToIntegerArray, convertToIntegerObject, convertToIntegerObjectArray, convertToLong, convertToLongArray, convertToLongObject, convertToLongObjectArray, convertToMap, convertToPublicObject, convertToPublicObjectArray, convertToSchemaObject, convertToSchemaObjectArray, convertToSimpleObject, convertToSimpleObjectArray, convertToString, convertToStringArray, convertToSystemObject, convertToSystemObjectArray, ensureUpperCaseName, getArrayAppendOption, getArrayPreventDuplicateValuesOption, getArrayRemoveOption, getBoolean, getBooleanArray, getBooleanArray, getBooleanObject, getBooleanObjectArray, getBooleanObjectArray, getDataType, getDate, getDateArray, getDateArray, getDirectoryObject, getDirectoryObjectArray, getDirectoryObjectArray, getDouble, getDoubleArray, getDoubleArray, getDoubleObject, getDoubleObjectArray, getDoubleObjectArray, getInteger, getIntegerArray, getIntegerArray, getIntegerObject, getIntegerObjectArray, getIntegerObjectArray, getLibraryObject, getLiteralArrayBindValueOption, getLong, getLongArray, getLongArray, getLongObject, getLongObjectArray, getLongObjectArray, getMap, getMapPutOption, getMapRemoveOption, getName, getObject, getOption, getPublicObject, getPublicObjectArray, getPublicObjectArray, getSchemaObject, getSchemaObjectArray, getSchemaObjectArray, getSimpleObject, getSimpleObjectArray, getSimpleObjectArray, getString, getStringArray, getStringArray, getSystemObject, getSystemObjectArray, getSystemObjectArray, getTransientOption, hashtableToArray, isArrayType, isLibraryObjectArrayType, isLibraryObjectScalarType, isLibraryObjectType, isMapType, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newAttributeValue, newNullAttributeValue, overrideName, removed, removeOption, setArrayAppendOption, setArrayPreventDuplicateValuesOption, setArrayRemoveOption, setLiteralArrayBindValueOption, setMapPutOption, setMapRemoveOption, setName, setOption, setTransientOption, toBoolean, toBoolean, toBoolean, toBoolean, toDate, toDate, toDouble, toDouble, toDouble, toInteger, toInteger, toInteger, toLong, toLong, toLong, toLong, toString, toString, toString, toString, toString, toString, toString
protected long m_ObjectId
protected long m_AttributeId
protected int m_Count
protected oracle.ifs.common.AttributeValueMap.SharedFlag m_ResolvedFlag
protected AttributeValueMap() throws IfsException
This variant is used when the user explicitly creates an AttributeValue using the static factory methods of AttributeValue.
IfsException
- if the operation failsprotected AttributeValueMap(long objectId, Long attributeId, int count) throws IfsException
This variant is used to retrieve a map-type AttributeValue from the database. It defers loading the elements of the AttributeValue from the appropriate map value database table until they are needed.
objectId
- the ID of the LibraryObject for which
this AttributeValue represents the value
of one of its AttributesattributeId
- the ID of the Attributecount
- the number of elements in this AttributeValue's mapIfsException
- (IFS-19001) if attributeId is nullpublic boolean isNullValue()
isNullValue
in class AttributeValue
public int getElementCount()
getElementCount
in class AttributeValue
protected final void resolve(LibrarySessionInterface session) throws IfsException
resolve
in class AttributeValue
session
- the sessionIfsException
- if the operation failspublic AttributeValue processResultSet(ResultSet rset) throws Exception
For internal use only. Do not use this method.
The invoker of this method sucks the elements from the returned object, plugs them into the corresponding cached AttributeValue, and then discards the returned object.
rset
- the result setException
- if the operation failsprotected void loadElements(AttributeValue source)
source
- the source AttributeValueCopyright © 2023. All rights reserved.