public final class AttributeValueLongArray extends AttributeValueArray
| Modifier and Type | Field and Description |
|---|---|
static String |
DATABASE_OBJECT_NAME
The database object name of the array-type AttributeValue.
|
protected Long[] |
m_MarshaledValues
The array used to transport elements across the CORBA line.
|
protected Long[] |
m_Values
The long array.
|
m_AttributeId, m_Count, m_ObjectId, m_PrimaryClassId, 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 |
AttributeValueLongArray(long[] values)
Constructs an array-type long AttributeValue.
|
protected |
AttributeValueLongArray(Long[] values)
Constructs an array-type long AttributeValue.
|
protected |
AttributeValueLongArray(long objectId,
Long attributeId,
Long priClassId,
int count)
Constructs an array-type long AttributeValue.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
convertToBoolean(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a boolean.
|
protected boolean[] |
convertToBooleanArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of booleans.
|
protected Boolean |
convertToBooleanObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a Boolean.
|
protected Boolean[] |
convertToBooleanObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of Booleans.
|
protected DirectoryObjectInterface |
convertToDirectoryObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a DirectoryObject.
|
protected DirectoryObjectInterface[] |
convertToDirectoryObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of DirectoryObjects.
|
protected double |
convertToDouble(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a double.
|
protected double[] |
convertToDoubleArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of doubles.
|
protected Double |
convertToDoubleObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a Double.
|
protected Double[] |
convertToDoubleObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of Doubles.
|
protected int |
convertToInteger(LibrarySessionInterface session,
int index)
Converts this AttributeValue to an int.
|
protected int[] |
convertToIntegerArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of ints.
|
protected Integer |
convertToIntegerObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to an Integer.
|
protected Integer[] |
convertToIntegerObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of Integers.
|
protected long |
convertToLong(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a long.
|
protected long[] |
convertToLongArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of longs.
|
protected Long |
convertToLongObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a Long.
|
protected Long[] |
convertToLongObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of Longs.
|
protected PublicObjectInterface |
convertToPublicObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a PublicObject.
|
protected PublicObjectInterface[] |
convertToPublicObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of PublicObjects.
|
protected SchemaObjectInterface |
convertToSchemaObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a SchemaObject.
|
protected SchemaObjectInterface[] |
convertToSchemaObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of SchemaObjects.
|
protected SimpleObjectInterface |
convertToSimpleObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a SimpleObject.
|
protected SimpleObjectInterface[] |
convertToSimpleObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of SimpleObjects.
|
protected String |
convertToString(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a String.
|
protected String[] |
convertToStringArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of Strings.
|
protected SystemObjectInterface |
convertToSystemObject(LibrarySessionInterface session,
int index)
Converts this AttributeValue to a SystemObject.
|
protected SystemObjectInterface[] |
convertToSystemObjectArray(LibrarySessionInterface session)
Converts this AttributeValue to an array of SystemObjects.
|
String |
getDatabaseObjectName()
Gets the database object name of the array-type AttributeValue.
|
int |
getDataType()
Gets the data type of this AttributeValue.
|
int |
getElementCount()
Gets the number of elements in an array-type 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.
|
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 array-type
AttributeValue.
|
getArrayTableCreateString, resolveadded, arrayToHashtable, canPurge, clone, compareTo, convertToDate, convertToDateArray, convertToMap, 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 transient Long[] m_Values
This is transient to prevent it from being transported across the CORBA line.
protected Long[] m_MarshaledValues
protected AttributeValueLongArray(long[] values)
throws IfsException
This variant is used when the user explicitly creates an AttributeValue using the static factory methods of AttributeValue. It implies that none of the AttributeValue's elements are null.
values - the long valuesIfsException - if the operation failsprotected AttributeValueLongArray(Long[] values) throws IfsException
This variant is used when the user explicitly creates an AttributeValue using the static factory methods of AttributeValue.
values - the long valuesIfsException - if the operation failsprotected AttributeValueLongArray(long objectId,
Long attributeId,
Long priClassId,
int count)
throws IfsException
This variant is used to retrieve an array-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 - object IDattributeId - Attribute IDpriClassId - the class ID reflecting a ClassDomain settingcount - the number of elements in this AttributeValueIfsException - (IFS-19001) if attributeId is nullpublic int getDataType()
getDataType in class AttributeValuepublic boolean isNullValue()
isNullValue in class AttributeValuepublic int getElementCount()
getElementCount in class AttributeValuepublic Object getObject(LibrarySessionInterface session) throws IfsException
getObject in class AttributeValuesession - the sessionIfsException - (IFS-10406) if there is a AttributeValue
conversion errorprotected int convertToInteger(LibrarySessionInterface session, int index) throws IfsException
convertToInteger in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as an intprotected Integer convertToIntegerObject(LibrarySessionInterface session, int index) throws IfsException
convertToIntegerObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as an Integerprotected long convertToLong(LibrarySessionInterface session, int index) throws IfsException
convertToLong in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a longprotected Long convertToLongObject(LibrarySessionInterface session, int index) throws IfsException
convertToLongObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a Longprotected double convertToDouble(LibrarySessionInterface session, int index) throws IfsException
convertToDouble in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a doubleprotected Double convertToDoubleObject(LibrarySessionInterface session, int index) throws IfsException
convertToDoubleObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a Doubleprotected String convertToString(LibrarySessionInterface session, int index) throws IfsException
convertToString in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a Stringprotected boolean convertToBoolean(LibrarySessionInterface session, int index) throws IfsException
convertToBoolean in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a booleanprotected Boolean convertToBooleanObject(LibrarySessionInterface session, int index) throws IfsException
convertToBooleanObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a Booleanprotected int[] convertToIntegerArray(LibrarySessionInterface session) throws IfsException
convertToIntegerArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as an int[]protected Integer[] convertToIntegerObjectArray(LibrarySessionInterface session) throws IfsException
convertToIntegerObjectArray in class AttributeValuesession - the sessionIfsException - if the operation failsprotected long[] convertToLongArray(LibrarySessionInterface session) throws IfsException
convertToLongArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a long[]protected Long[] convertToLongObjectArray(LibrarySessionInterface session) throws IfsException
convertToLongObjectArray in class AttributeValuesession - the sessionIfsException - if the operation failsprotected double[] convertToDoubleArray(LibrarySessionInterface session) throws IfsException
convertToDoubleArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a double[]protected Double[] convertToDoubleObjectArray(LibrarySessionInterface session) throws IfsException
convertToDoubleObjectArray in class AttributeValuesession - the sessionIfsException - if the operation failsprotected String[] convertToStringArray(LibrarySessionInterface session) throws IfsException
convertToStringArray in class AttributeValuesession - the sessionIfsException - if the operation failsprotected boolean[] convertToBooleanArray(LibrarySessionInterface session) throws IfsException
convertToBooleanArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a boolean[]protected Boolean[] convertToBooleanObjectArray(LibrarySessionInterface session) throws IfsException
convertToBooleanObjectArray in class AttributeValuesession - the sessionIfsException - if the operation failsprotected SchemaObjectInterface convertToSchemaObject(LibrarySessionInterface session, int index) throws IfsException
convertToSchemaObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a SchemaObjectprotected SchemaObjectInterface[] convertToSchemaObjectArray(LibrarySessionInterface session) throws IfsException
convertToSchemaObjectArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a SchemaObject[]protected SystemObjectInterface convertToSystemObject(LibrarySessionInterface session, int index) throws IfsException
convertToSystemObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a SystemObjectprotected SystemObjectInterface[] convertToSystemObjectArray(LibrarySessionInterface session) throws IfsException
convertToSystemObjectArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a SystemObject[]protected SimpleObjectInterface convertToSimpleObject(LibrarySessionInterface session, int index) throws IfsException
convertToSimpleObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a SimpleObjectprotected SimpleObjectInterface[] convertToSimpleObjectArray(LibrarySessionInterface session) throws IfsException
convertToSimpleObjectArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a SimpleObject[]protected PublicObjectInterface convertToPublicObject(LibrarySessionInterface session, int index) throws IfsException
convertToPublicObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a PublicObjectprotected PublicObjectInterface[] convertToPublicObjectArray(LibrarySessionInterface session) throws IfsException
convertToPublicObjectArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a PublicObject[]protected DirectoryObjectInterface convertToDirectoryObject(LibrarySessionInterface session, int index) throws IfsException
convertToDirectoryObject in class AttributeValuesession - the sessionindex - the zero-based indexIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a DirectoryObjectprotected DirectoryObjectInterface[] convertToDirectoryObjectArray(LibrarySessionInterface session) throws IfsException
convertToDirectoryObjectArray in class AttributeValuesession - the sessionIfsException - (IFS-10406) if this AttributeValue cannot
be represented as a DirectoryObject[]public 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 AttributeValueArrayrset - the result setException - if the operation failsprotected final void loadElements(AttributeValue source)
loadElements in class AttributeValueArraysource - the source AttributeValuepublic final String getDatabaseObjectName()
getDatabaseObjectName in class AttributeValueArraypublic 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.