public class OdsxColumn extends OdsxInstanceElement implements OdsxColumnInterface
,
Serialized FormModifier and Type | Class and Description |
---|---|
class |
OdsxColumn.DataThread |
FwkColumnAccess.FwkSubColumnAccess
FwkInfoBusImmediateAccess.ElementConsumer
Modifier and Type | Field and Description |
---|---|
protected NameValueUnit |
data |
protected java.lang.String[] |
dependsOn |
protected static FwkDescriptionInterface |
descriptor |
protected NameValueUnit |
flags |
protected short |
globalFlag |
protected int |
implicit |
protected int |
independent |
protected java.lang.Object |
LOCK |
protected Measurement |
meaIe |
protected SubMatrix |
subIe |
protected java.lang.String |
unitString |
static java.lang.String |
version |
aeId, aeObj, asamPath, baseName, childrenSelector, odsVersion
beQueries, color, DEFAULT_COLOR, defaultObject, odsFilter, SEPARATOR, value
average, averageIsValid, columnName, CONSIDER_FLAGS, DESCRIPTION_COLUMN_NAME, icon, lower, minPositiveValue, observer, producer, range_lock, rangeIsValid, shortName, standardDeviation, standardDeviationIsValid, unit, upper
children, properties, valid
changeManager, suspendChangeManager
source
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, ICON, iconCount, iconKey, internetAddress, name, titleName
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
DATAARRAY_KEY, DEFINED_BIT, INVALID, NOT_MODIFIED_BIT, VALID, VALID_BIT, VISIBLE_BIT
INFOBUS_SOURCE
Modifier | Constructor and Description |
---|---|
protected |
OdsxColumn()
The constructor.
|
|
OdsxColumn(InstanceElement ie)
The constructor receiving the instance element.
|
|
OdsxColumn(InstanceElement ie,
ApplicationElement aeObj,
java.lang.String type)
The constructor receiving the instance element.
|
|
OdsxColumn(T_LONGLONG id,
java.lang.String name,
AoSession aoSession,
ApplicationElement aeObj,
java.lang.String type,
java.lang.String version)
The constructor receiving the instance element.
|
|
OdsxColumn(T_LONGLONG id,
java.lang.String name,
AoSession aoSession,
ApplicationElement aeObj,
T_LONGLONG aeId,
java.lang.String type,
java.lang.String version)
The constructor receiving the instance element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
dependsOn()
Returns an array of dataitem names this dataitem depends on.
|
protected void |
determineRange()
Determine the lower and upper limits of the column.
|
double |
getAverage()
Returns the average of the column data.
|
short |
getAverageFlag()
Returns a boolean whether the average is a valid value.
|
InstanceElement |
getColumn()
Get the InstanceElement.
|
java.lang.String |
getColumnName()
Get the name of the column without prefix that uniq the name.
|
int |
getCount()
Returns the total number of values located inside the column.
|
protected void |
getData()
Get the data from column.
|
static FwkDescriptionInterface |
getDescriptor() |
short |
getFlagAt(int index)
Returns a flag of the local columbn at the specified position.
|
short[] |
getFlags()
Returns an array of bytes containing the flags for the value array.
|
short |
getGlobalFlag()
Get the value of the global flag.
|
double |
getMaximum()
Returns the upper value of the column.
|
protected Measurement |
getMeasurement()
Get the measurement that is parent of this column.
|
double |
getMinimum()
Returns the lower value of the column.
|
double |
getStandardDeviation()
Returns the standard deviation of the column data.
|
short |
getStandardDeviationFlag()
Returns a boolean whether the standard deviation is a valid value.
|
protected SubMatrix |
getSubMatrix()
Get the submatrix that is parent of this column.
|
java.lang.String |
getUnitString()
Returns the unit string of the local column.
|
double |
getValueAt(int index)
Returns a value of the local columbn at the specified position.
|
double[] |
getValues()
Returns an array containing the data.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
protected void |
initializeObserver()
Initialize observer.
|
boolean |
isGlobalFlagAvailable()
Is the global flag available in database.
|
boolean |
isImplicit()
Return whether the column is an implicit defined.
|
boolean |
isIndependent()
Return whether the column is an independent column.
|
void |
release()
Release the item.
|
void |
reload()
Reload data.
|
cloneInstanceElement, delete, determineName, finalize, getApplicationElement, getApplicationElementId, getApplicationStructure, getBaseName, getBuild, getCommands, getCreationDate, getElements, getIdentificationString, getInstanceElement, getInstanceElementId, getInstanceElementName, getInstancePath, getODSVersion, getPresentationString, getRelatedElements, getSession, getShortName, getShortName, getValueAsObject, isTheSame, isTheSame, isValid, odsChanged, setItemByCoordinates, setValueAsObject, writeString, writeString, writeString, writeString, writeString, writeString, writeString, writeString, writeString, writeString, writeString
getDimensions, getIcon, getItemByCoordinates, getOdsxFilter, getPresentationString, getPresentationString, getPresentationString, getRelations, getRelations, getValueAsString, matchBaseElement, setOdsxFilter, subdivide, toString, valueIsA
createEmptyColumn, getCommands, getIndex, getIndexRange, getMinPositiveValue, getNativeDatatype, getNativeValues, getNativeValues, getProperty, getScale, getTransferData, getTransferDataFlavors, independentColumns, isDataFlavorSupported, main, reshape, setColumnName, setFlagAt, setFlags, setIndependent, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setItemByCoordinates, setName, setScale, setValue, setValueAt
addChild, addChildListener, containsChild, fireChildAdded, fireChildRemoved, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, hasValidValues, isGroup, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren, setProperty, setValidValues
addDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setPropertyGroup, suspendChangeManager
addCommand, addCommand, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getCommand, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getDateFormatString, getDescription, getFwkMimeTypes, getGroup, getIcon, getIconKey, getIconKey, getPersistentObjectNames, getSupportEMail, getTitle, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, removeCommand, removeFromGroup, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, setCommands, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSource, setSupportEMail, setTitleName
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEvents
getClassName, lostOwnership, setClassName, setCreationDate
getNiceVersion
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneInstanceElement, delete, getApplicationElement, getApplicationElementId, getInstanceElement, getInstanceElementId, getInstancePath, isTheSame
getBaseName, getElements, getIdentificationString, getODSVersion, getOdsxFilter, getPresentationString, getPresentationString, getRelatedElements, getRelations, getRelations, getSession, getShortName, getShortName, getValueAsObject, isTheSame, isValid, matchBaseElement, setOdsxFilter, setValueAsObject, valueIsA
getName, hasValidValues, isGroup, setProperty, setValidValues
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleName
getTransferData, getTransferDataFlavors, isDataFlavorSupported
addChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren
getPresentationString, getValueAsString, setValue
addDataItemChangeListener, removeDataItemChangeListener
getDimensions, getItemByCoordinates, setItemByCoordinates, subdivide
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
getIndex, getIndexRange, getMinPositiveValue, getShortName, independentColumns, setColumnName, setFlagAt, setFlags, setValueAt
getNativeDatatype, getNativeValues, getNativeValues, getScale, isChangeManagerSuspended, setScale, suspendChangeManager
getPersistentObjectNames
destroyController
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener
public static final java.lang.String version
protected static final FwkDescriptionInterface descriptor
protected NameValueUnit data
protected NameValueUnit flags
protected java.lang.String unitString
protected int independent
protected int implicit
protected Measurement meaIe
protected SubMatrix subIe
protected java.lang.String[] dependsOn
protected short globalFlag
protected java.lang.Object LOCK
protected OdsxColumn()
public OdsxColumn(InstanceElement ie, ApplicationElement aeObj, java.lang.String type)
ie
- The instance element.public OdsxColumn(InstanceElement ie)
ie
- The instance element.public OdsxColumn(T_LONGLONG id, java.lang.String name, AoSession aoSession, ApplicationElement aeObj, java.lang.String type, java.lang.String version)
ie
- The instance element.public OdsxColumn(T_LONGLONG id, java.lang.String name, AoSession aoSession, ApplicationElement aeObj, T_LONGLONG aeId, java.lang.String type, java.lang.String version)
ie
- The instance element.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class OdsxInstanceElement
public static FwkDescriptionInterface getDescriptor()
public InstanceElement getColumn()
getColumn
in interface OdsxColumnInterface
public void release()
release
in interface FwkColumnDataObserverInterface
release
in interface FwkInterface
release
in interface javax.infobus.DataItem
release
in class OdsxInstanceElement
public java.lang.String getColumnName()
getColumnName
in interface FwkColumnAccessInterface
getColumnName
in class FwkColumnAccess
public int getCount()
getCount
in interface FwkColumnAccessInterface
getCount
in interface FwkColumnDataObserverInterface
getCount
in class FwkColumnAccess
DataType
public double[] getValues()
getValues
in interface FwkColumnAccessInterface
getValues
in class FwkColumnAccess
#getFlag
public boolean isGlobalFlagAvailable()
isGlobalFlagAvailable
in interface OdsxColumnInterface
public short getGlobalFlag()
getGlobalFlag
in interface OdsxColumnInterface
protected void initializeObserver()
public short[] getFlags()
getFlags
in interface FwkColumnAccessInterface
getFlags
in class FwkColumnAccess
getValue
public double getValueAt(int index) throws FwkException
getValueAt
in interface FwkColumnAccessInterface
getValueAt
in interface FwkColumnDataObserverInterface
getValueAt
in class FwkColumnAccess
index
- The index of interest.FwkException
getFlagAt(int)
public short getFlagAt(int index) throws FwkException
getFlagAt
in interface FwkColumnAccessInterface
getFlagAt
in interface FwkColumnDataObserverInterface
getFlagAt
in class FwkColumnAccess
index
- The index of interest.FwkException
getFlags()
,
getFlagAt(int)
public double getMinimum()
getMinimum
in interface FwkColumnAccessInterface
getMinimum
in class FwkColumnAccess
public double getMaximum()
getMaximum
in interface FwkColumnAccessInterface
getMaximum
in class FwkColumnAccess
public java.lang.String getUnitString()
getUnitString
in interface FwkColumnAccessInterface
getUnitString
in class FwkColumnAccess
protected SubMatrix getSubMatrix()
protected Measurement getMeasurement()
public java.lang.String[] dependsOn()
dependsOn
in interface FwkColumnAccessInterface
dependsOn
in class FwkColumnAccess
public boolean isIndependent()
isIndependent
in interface FwkColumnAccessInterface
isIndependent
in class FwkColumnAccess
public boolean isImplicit()
isImplicit
in interface FwkColumnAccessInterface
isImplicit
in interface FwkColumnDataObserverInterface
isImplicit
in class FwkColumnAccess
public double getAverage()
getAverage
in interface FwkColumnAccessInterface
getAverage
in class FwkColumnAccess
public double getStandardDeviation()
getStandardDeviation
in interface FwkColumnAccessInterface
getStandardDeviation
in class FwkColumnAccess
public short getAverageFlag()
getAverageFlag
in interface FwkColumnAccessInterface
getAverageFlag
in class FwkColumnAccess
public short getStandardDeviationFlag()
getStandardDeviationFlag
in interface FwkColumnAccessInterface
getStandardDeviationFlag
in class FwkColumnAccess
protected void getData() throws FwkException
FwkException,
- if the data or the flags are not loadable.FwkException
protected void determineRange()
determineRange
in class FwkColumnAccess
public void reload()
reload
in interface OdsxInstanceElementInterface
reload
in class OdsxInstanceElement