public class OdsxColumn extends OdsxInstanceElement implements OdsxColumnInterface
,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
class |
OdsxColumn.DataThread |
FwkColumnAccess.FwkSubColumnAccessFwkInfoBusImmediateAccess.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, odsVersionbeQueries, color, DEFAULT_COLOR, defaultObject, odsFilter, SEPARATOR, valueaverage, averageIsValid, columnName, CONSIDER_FLAGS, DESCRIPTION_COLUMN_NAME, icon, lower, minPositiveValue, observer, producer, range_lock, rangeIsValid, shortName, standardDeviation, standardDeviationIsValid, unit, upperchildren, properties, validchangeManager, suspendChangeManagersourceauthor, 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, titleNameAUTHOR, 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_NAMEDATAARRAY_KEY, DEFINED_BIT, INVALID, NOT_MODIFIED_BIT, VALID, VALID_BIT, VISIBLE_BITINFOBUS_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, writeStringgetDimensions, getIcon, getItemByCoordinates, getOdsxFilter, getPresentationString, getPresentationString, getPresentationString, getRelations, getRelations, getValueAsString, matchBaseElement, setOdsxFilter, subdivide, toString, valueIsAcreateEmptyColumn, 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, setValueAtaddChild, addChildListener, containsChild, fireChildAdded, fireChildRemoved, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, hasValidValues, isGroup, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren, setProperty, setValidValuesaddDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setPropertyGroup, suspendChangeManageraddCommand, 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, setTitleNameaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEventsgetClassName, lostOwnership, setClassName, setCreationDategetNiceVersionclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcloneInstanceElement, delete, getApplicationElement, getApplicationElementId, getInstanceElement, getInstanceElementId, getInstancePath, isTheSamegetBaseName, getElements, getIdentificationString, getODSVersion, getOdsxFilter, getPresentationString, getPresentationString, getRelatedElements, getRelations, getRelations, getSession, getShortName, getShortName, getValueAsObject, isTheSame, isValid, matchBaseElement, setOdsxFilter, setValueAsObject, valueIsAgetName, hasValidValues, isGroup, setProperty, setValidValuesgetAuthor, 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, setTitleNamegetTransferData, getTransferDataFlavors, isDataFlavorSupportedaddChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildrengetPresentationString, getValueAsString, setValueaddDataItemChangeListener, removeDataItemChangeListenergetDimensions, getItemByCoordinates, setItemByCoordinates, subdivideaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsaddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringgetIndex, getIndexRange, getMinPositiveValue, getShortName, independentColumns, setColumnName, setFlagAt, setFlags, setValueAtgetNativeDatatype, getNativeValues, getNativeValues, getScale, isChangeManagerSuspended, setScale, suspendChangeManagergetPersistentObjectNamesdestroyControlleraddVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListenerpublic 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()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class OdsxInstanceElementpublic static FwkDescriptionInterface getDescriptor()
public InstanceElement getColumn()
getColumn in interface OdsxColumnInterfacepublic void release()
release in interface FwkColumnDataObserverInterfacerelease in interface FwkInterfacerelease in interface javax.infobus.DataItemrelease in class OdsxInstanceElementpublic java.lang.String getColumnName()
getColumnName in interface FwkColumnAccessInterfacegetColumnName in class FwkColumnAccesspublic int getCount()
getCount in interface FwkColumnAccessInterfacegetCount in interface FwkColumnDataObserverInterfacegetCount in class FwkColumnAccessDataTypepublic double[] getValues()
getValues in interface FwkColumnAccessInterfacegetValues in class FwkColumnAccess#getFlagpublic boolean isGlobalFlagAvailable()
isGlobalFlagAvailable in interface OdsxColumnInterfacepublic short getGlobalFlag()
getGlobalFlag in interface OdsxColumnInterfaceprotected void initializeObserver()
public short[] getFlags()
getFlags in interface FwkColumnAccessInterfacegetFlags in class FwkColumnAccessgetValuepublic double getValueAt(int index)
throws FwkException
getValueAt in interface FwkColumnAccessInterfacegetValueAt in interface FwkColumnDataObserverInterfacegetValueAt in class FwkColumnAccessindex - The index of interest.FwkExceptiongetFlagAt(int)public short getFlagAt(int index)
throws FwkException
getFlagAt in interface FwkColumnAccessInterfacegetFlagAt in interface FwkColumnDataObserverInterfacegetFlagAt in class FwkColumnAccessindex - The index of interest.FwkExceptiongetFlags(),
getFlagAt(int)public double getMinimum()
getMinimum in interface FwkColumnAccessInterfacegetMinimum in class FwkColumnAccesspublic double getMaximum()
getMaximum in interface FwkColumnAccessInterfacegetMaximum in class FwkColumnAccesspublic java.lang.String getUnitString()
getUnitString in interface FwkColumnAccessInterfacegetUnitString in class FwkColumnAccessprotected SubMatrix getSubMatrix()
protected Measurement getMeasurement()
public java.lang.String[] dependsOn()
dependsOn in interface FwkColumnAccessInterfacedependsOn in class FwkColumnAccesspublic boolean isIndependent()
isIndependent in interface FwkColumnAccessInterfaceisIndependent in class FwkColumnAccesspublic boolean isImplicit()
isImplicit in interface FwkColumnAccessInterfaceisImplicit in interface FwkColumnDataObserverInterfaceisImplicit in class FwkColumnAccesspublic double getAverage()
getAverage in interface FwkColumnAccessInterfacegetAverage in class FwkColumnAccesspublic double getStandardDeviation()
getStandardDeviation in interface FwkColumnAccessInterfacegetStandardDeviation in class FwkColumnAccesspublic short getAverageFlag()
getAverageFlag in interface FwkColumnAccessInterfacegetAverageFlag in class FwkColumnAccesspublic short getStandardDeviationFlag()
getStandardDeviationFlag in interface FwkColumnAccessInterfacegetStandardDeviationFlag in class FwkColumnAccessprotected void getData()
throws FwkException
FwkException, - if the data or the flags are not loadable.FwkExceptionprotected void determineRange()
determineRange in class FwkColumnAccesspublic void reload()
reload in interface OdsxInstanceElementInterfacereload in class OdsxInstanceElement