public interface FwkColumnAccessInterface extends FwkInfoBusDataAccessInterface, FwkColumnDataObserverInterface
The property entry FwkColumnAccessInterface.ConsiderFlag decides whether the field CONSIDER_FLAGS is true or false. It is can be used by consumers to shorten the time of evaluation the flags.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATAARRAY_KEY
The property name to retrieve the data.
|
static short |
DEFINED_BIT
The DEFINED bit values.
|
static short |
INVALID
Invalid classifation flag.
|
static short |
NOT_MODIFIED_BIT
The NOT_MODIFIED bit values.
|
static short |
VALID
Valid classification flag.
|
static short |
VALID_BIT
The VALID bit values.
|
static short |
VISIBLE_BIT
The VISIBLE bit values.
|
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
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
dependsOn()
Returns an array of dataitem names this dataitem depends on.
|
double |
getAverage()
Returns the average of the column data.
|
short |
getAverageFlag()
Returns the flag of the average.
|
java.lang.String |
getColumnName()
Get the name of the column without prefix that makes the name unique on the infobus.
|
int |
getCount()
Returns the total number of values located inside the column.
|
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.
|
long |
getIndex(double value)
Get the lower limit index relative to the given channel.
|
long[] |
getIndexRange(double lower,
double upper)
Get the index range relative to the given channel.
|
double |
getMaximum()
Returns the maximum value of the column.
|
double |
getMinimum()
Returns the mimimum value of the column.
|
double |
getMinPositiveValue()
Get the lowest value that is greater than 0.
|
java.lang.String |
getShortName()
Get the short name of the column
|
double |
getStandardDeviation()
Returns the standard deviation of the column data.
|
short |
getStandardDeviationFlag()
Returns the flag of the standard deviation.
|
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.
|
FwkColumnAccessInterface[] |
independentColumns()
Returns an array of dataitems this dataitem depends on.
|
boolean |
isImplicit()
Return a boolean whether the column is an implict column.
|
boolean |
isIndependent()
Return a boolean whether the column is an independent column.
|
void |
setColumnName(java.lang.String newColumnName)
Set the columnName.
|
void |
setFlagAt(int index,
short flag)
Set a flag of the column
|
void |
setFlags(short[] flags)
Set the flags of the column
|
void |
setValueAt(int index,
double value)
Set a value of the column
|
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
getVersion, release
getTransferData, getTransferDataFlavors, isDataFlavorSupported
addChild, addChildListener, containsChild, getAllChildren, getAllChildren, getChildren, getChildren, getChildrenCount, hasChildren, removeAllChildren, removeChild, removeChild, removeChildListener, setChildren
getPresentationString, getValueAsObject, getValueAsString, setValue
addDataItemChangeListener, removeDataItemChangeListener
getDimensions, getItemByCoordinates, setItemByCoordinates, subdivide
getNativeDatatype, getNativeValues, getNativeValues, getScale, isChangeManagerSuspended, release, setScale, suspendChangeManager
static final short VALID
static final short INVALID
static final short VALID_BIT
static final short VISIBLE_BIT
static final short NOT_MODIFIED_BIT
static final short DEFINED_BIT
static final java.lang.String DATAARRAY_KEY
java.lang.String getColumnName()
void setColumnName(java.lang.String newColumnName)
newColumnName
- the new column name.int getCount()
getCount
in interface FwkColumnDataObserverInterface
DataType
double[] getValues()
#getFlag
short[] getFlags()
getValue
double getValueAt(int index) throws java.lang.RuntimeException
getValueAt
in interface FwkColumnDataObserverInterface
index
- The index of the value.java.lang.RuntimeException
getFlagAt(int)
short getFlagAt(int index) throws java.lang.RuntimeException
getFlagAt
in interface FwkColumnDataObserverInterface
index
- The index of the flag.java.lang.RuntimeException
getFlags()
,
getFlagAt(int)
double getMinimum()
double getMinPositiveValue()
double getMaximum()
java.lang.String getUnitString()
java.lang.String[] dependsOn()
FwkColumnAccessInterface[] independentColumns()
boolean isIndependent()
boolean isImplicit()
For more information abount implicit columns see org.asam.ods.Column
isImplicit
in interface FwkColumnDataObserverInterface
double getAverage()
double getStandardDeviation()
short getAverageFlag()
short getStandardDeviationFlag()
java.lang.String getShortName()
long getIndex(double value)
value
- the physical value to be found as index.long[] getIndexRange(double lower, double upper)
lower
- The lower value to be found.upper
- The upper value to be found.void setFlags(short[] flags)
flags
- The array containing the new flags.void setFlagAt(int index, short flag)
setFlagAt
in interface FwkColumnDataObserverInterface
index
- the index of the flag.flag
- The flag to be set.FwkColumnAccessInterface
void setValueAt(int index, double value)
setValueAt
in interface FwkColumnDataObserverInterface
index
- the index of the value.value
- The value to be set.