public final class AttributeValueLongLibraryObjectMap extends AttributeValueMap
| Modifier and Type | Field and Description |
|---|---|
static String |
DATABASE_OBJECT_NAME
The default table suffix (database object name) for this data type.
|
m_AttributeId, m_Count, m_ObjectId, m_ResolvedFlagLONG_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 |
AttributeValueLongLibraryObjectMap()
Constructs an AttributeValueLongLibraryObjectMap.
|
protected |
AttributeValueLongLibraryObjectMap(long objectId,
Long attributeId,
int count)
Constructs a long-lo map-type AttributeValue.
|
protected |
AttributeValueLongLibraryObjectMap(Map map)
Constructs a long-lo map-type AttributeValue.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map |
convertToMap(LibrarySessionInterface session)
Converts this AttributeValue to a Map.
|
int |
getDataType()
Gets the data type of this AttributeValue.
|
static String |
getMultiValueTableCreateString(String tableName,
int dataLen,
int dataScale)
Gets the CREATE TABLE string for multi-value tables for the
specified table name.
|
Object |
getObject(LibrarySessionInterface session)
Gets the default object representation of this AttributeValue.
|
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.
|
getElementCount, isNullValue, resolveadded, arrayToHashtable, canPurge, clone, compareTo, convertToBoolean, convertToBooleanArray, convertToBooleanObject, convertToBooleanObjectArray, convertToDate, convertToDateArray, convertToDirectoryObject, convertToDirectoryObjectArray, convertToDouble, convertToDoubleArray, convertToDoubleObject, convertToDoubleObjectArray, convertToInteger, convertToIntegerArray, convertToIntegerObject, convertToIntegerObjectArray, convertToLong, convertToLongArray, convertToLongObject, convertToLongObjectArray, convertToPublicObject, convertToPublicObjectArray, convertToSchemaObject, convertToSchemaObjectArray, convertToSimpleObject, convertToSimpleObjectArray, convertToString, convertToStringArray, convertToSystemObject, convertToSystemObjectArray, ensureUpperCaseName, getArrayAppendOption, getArrayPreventDuplicateValuesOption, getArrayRemoveOption, getBoolean, getBooleanArray, getBooleanArray, getBooleanObject, getBooleanObjectArray, getBooleanObjectArray, 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, 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, toStringpublic static final String DATABASE_OBJECT_NAME
protected AttributeValueLongLibraryObjectMap()
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 AttributeValueLongLibraryObjectMap(Map map) throws IfsException
This variant is used when the user explicitly creates an AttributeValue using the static factory methods of AttributeValue.
map - the long-lo mapIfsException - if the operation failsprotected AttributeValueLongLibraryObjectMap(long objectId,
Long attributeId,
int count)
throws IfsException
This variant is used to retrieve an map-type AttributeValue from the database. It defers loading the elements of the AttributeValue from the appropriate attribute 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 AttributeValueIfsException - (IFS-19001) if attributeId is nullpublic int getDataType()
getDataType in class AttributeValuepublic Object getObject(LibrarySessionInterface session) throws IfsException
This will return a Map
getObject in class AttributeValuesession - the sessionIfsException - (IFS-10406) if there is a AttributeValue
conversion errorprotected Map convertToMap(LibrarySessionInterface session) throws IfsException
convertToMap in class AttributeValuesession - 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.
processResultSet in class AttributeValueMaprset - the result setException - if the operation failsprotected final void loadElements(AttributeValue source)
loadElements in class AttributeValueMapsource - the source AttributeValuepublic static final String getMultiValueTableCreateString(String tableName, int dataLen, int dataScale) throws IfsException
tableName - the name of the table being createddataLen - the data length specifieddataScale - the data scale specifiedIfsException - (IFS-10400) if the specified type is not validCopyright © 2025. All rights reserved.