public class ValueMatrix extends ValueMatrixPOA implements ValueMatrix, AvalonDestroyable
Modifier and Type | Field and Description |
---|---|
protected AoSession |
aosObj |
protected long |
cObjPtr |
Constructor and Description |
---|
ValueMatrix() |
ValueMatrix(long cObjPtr) |
Modifier and Type | Method and Description |
---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) |
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) |
org.omg.CORBA.Object |
_duplicate() |
org.omg.CORBA.DomainManager[] |
_get_domain_managers() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
void |
_release() |
org.omg.CORBA.Request |
_request(java.lang.String operation) |
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) |
Column |
addColumn(NameUnit newColumn)
Add a column to the value matrix.
|
Column |
addColumnScaledBy(NameUnit newColumn,
Column scalingColumn)
Add a column to the value matrix.
|
void |
destroy()
Destroy the object on the server.
|
protected void |
finalize() |
int |
getColumnCount()
Get the column count of the value matrix.
|
Column[] |
getColumns(java.lang.String colPattern)
Get the columns of the value matrix no matter whether the column is
dependent or independent.
|
Column[] |
getColumnsScaledBy(Column scalingColumn)
Get the columns which are scaled by the given column.
|
Column[] |
getIndependentColumns(java.lang.String colPattern)
Get the independent column of the valuematrix.
|
long |
getIndexSize()
Get the memory usage of the value matrix.
|
static org.omg.CORBA.Object |
getInstance(long cObjPtr,
AoSession aosObj) |
ValueMatrixMode |
getMode()
Get the current mode of the value matrix.
|
int |
getRowCount()
Get the row count of the value matrix.
|
Column[] |
getScalingColumns(java.lang.String colPattern)
Get the scaling column of the valuematrix.
|
NameValueSeqUnit[] |
getValue(Column[] columns,
int startPoint,
int count)
Get the values of different columns of the valuematrix.
|
NameValueUnitIterator |
getValueMeaPoint(int meaPoint)
Get a measurement point of the value matrix.
|
TS_ValueSeq |
getValueVector(Column col,
int startPoint,
int count)
Get the values or a part of values of the column from the value matrix.
|
long |
lastAccessTime()
Returns the time stamp of the last access in milliseconds.
|
java.lang.String[] |
listColumns(java.lang.String colPattern)
Get the names of the columns of the value matrix no matter whether the
column is dependent or independent.
|
java.lang.String[] |
listColumnsScaledBy(Column scalingColumn)
List the names of the column which are scaled by the given column.
|
java.lang.String[] |
listIndependentColumns(java.lang.String colPattern)
Get the name of the independent column of the valuematrix.
|
java.lang.String[] |
listScalingColumns(java.lang.String colPattern)
Get the name of the scaling column of the valuematrix.
|
void |
removeValueMeaPoint(java.lang.String[] columnNames,
int meaPoint,
int count)
Remove the values of the columns at a given measurement point.
|
void |
removeValueVector(Column col,
int startPoint,
int count)
Remove the values from a value vector.
|
void |
setValue(SetType set,
int startPoint,
NameValueSeqUnit[] value)
Create or modify a number of value vectors in a value matrix.
|
void |
setValueMeaPoint(SetType set,
int meaPoint,
NameValue[] value)
Create or modify a measurement point of a value matrix.
|
void |
setValueVector(Column col,
SetType set,
int startPoint,
TS_ValueSeq value)
Create or modify a value vector in a value matrix.
|
void |
touch()
Touches this instance and reset the last access time telling to any other
that this instance is still active, although no method was called.
|
_all_interfaces, _invoke, _this, _this
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
protected long cObjPtr
protected AoSession aosObj
public static org.omg.CORBA.Object getInstance(long cObjPtr, AoSession aosObj)
public Column[] getColumns(java.lang.String colPattern) throws AoException
getColumns
in interface ValueMatrixOperations
colPattern
- The name or the search pattern for the column names.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic int getColumnCount() throws AoException
getColumnCount
in interface ValueMatrixOperations
AoException
- with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic Column[] getIndependentColumns(java.lang.String colPattern) throws AoException
getIndependentColumns
in interface ValueMatrixOperations
colPattern
- The name or the search pattern for the independent column
name.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic int getRowCount() throws AoException
getRowCount
in interface ValueMatrixOperations
AoException
- with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic long getIndexSize() throws AoException
AoException
- with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameValueUnitIterator getValueMeaPoint(int meaPoint) throws AoException
getValueMeaPoint
in interface ValueMatrixOperations
meaPoint
- The measurement point.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic TS_ValueSeq getValueVector(Column col, int startPoint, int count) throws AoException
getValueVector
in interface ValueMatrixOperations
col
- The column to retrieve the values from.startPoint
- The starting point in the column.count
- The number of points to be retrieved.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_INVALID_COLUMN AO_INVLAID_COUNT AO_NOT_IMPLEMENTED
AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic java.lang.String[] listColumns(java.lang.String colPattern) throws AoException
listColumns
in interface ValueMatrixOperations
colPattern
- The name or the search pattern for the column names.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic java.lang.String[] listIndependentColumns(java.lang.String colPattern) throws AoException
listIndependentColumns
in interface ValueMatrixOperations
colPattern
- The name or the search pattern for the independent column
name.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic void removeValueMeaPoint(java.lang.String[] columnNames, int meaPoint, int count) throws AoException
removeValueMeaPoint
in interface ValueMatrixOperations
columnNames
- The columns from which the measurement points are to be
removed.meaPoint
- The measurement point to be removed.count
- The number of points to be removed from each column.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM AO_INVALID_COUNT
AO_NOT_FOUND AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void removeValueVector(Column col, int startPoint, int count) throws AoException
removeValueVector
in interface ValueMatrixOperations
col
- The column from which the values are to be removed.startPoint
- The starting point for the value removal.count
- The number of points to be removed from the column.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_INVALID_COLUMN AO_INVALID_COUNT AO_NOT_FOUND
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic void setValueMeaPoint(SetType set, int meaPoint, NameValue[] value) throws AoException
setValueMeaPoint
in interface ValueMatrixOperations
set
- The set type.meaPoint
- The measurement point.value
- The values to be inserted.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_IS_MEASUREMENT_MATRIX AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setValueVector(Column col, SetType set, int startPoint, TS_ValueSeq value) throws AoException
setValueVector
in interface ValueMatrixOperations
col
- The column whose values are to be set.set
- The set type.startPoint
- The starting point for the new values.value
- The values to be inserted.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_INVALID_COLUMN AO_INVALID_SET_TYPE
AO_IS_MEASUREMENT_MATRIX AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void setValue(SetType set, int startPoint, NameValueSeqUnit[] value) throws AoException
setValue
in interface ValueMatrixOperations
set
- The set type.startPoint
- The measurement point.value
- The values to be inserted.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_INVALID_COLUMN AO_INVALID_SET_TYPE
AO_IS_MEASUREMENT_MATRIX AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic Column addColumn(NameUnit newColumn) throws AoException
addColumn
in interface ValueMatrixOperations
newColumn
- The name and unit of the column to add.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM AO_INVALID_NAME
AO_INVALID_SET_TYPE AO_IS_MEASUREMENT_MATRIX
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic java.lang.String[] listScalingColumns(java.lang.String colPattern) throws AoException
listScalingColumns
in interface ValueMatrixOperations
colPattern
- The name or the search pattern for the scaling column name.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic Column[] getScalingColumns(java.lang.String colPattern) throws AoException
getScalingColumns
in interface ValueMatrixOperations
colPattern
- The name or the search pattern for the scaling column name.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic java.lang.String[] listColumnsScaledBy(Column scalingColumn) throws AoException
listColumnsScaledBy
in interface ValueMatrixOperations
scalingColumn
- The scaling column.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_NO_SCALING_COLUMNpublic Column[] getColumnsScaledBy(Column scalingColumn) throws AoException
getColumnsScaledBy
in interface ValueMatrixOperations
scalingColumn
- The scaling column.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_NO_SCALING_COLUMNpublic Column addColumnScaledBy(NameUnit newColumn, Column scalingColumn) throws AoException
addColumnScaledBy
in interface ValueMatrixOperations
newColumn
- The name and unit of the column to add.scalingColumn
- The scaling column.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM AO_INVALID_NAME
AO_INVALID_SET_TYPE AO_IS_MEASUREMENT_MATRIX
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVE
AO_NO_SCALING_COLUMNpublic void destroy() throws AoException
destroy
in interface AvalonDestroyable
destroy
in interface ValueMatrixOperations
AoException
- with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameValueSeqUnit[] getValue(Column[] columns, int startPoint, int count) throws AoException
getValue
in interface ValueMatrixOperations
columns
- The requested columns.startPoint
- The starting point in the column.count
- The number of points to be retrieved. 0 mean until end of
column.AoException
- with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic ValueMatrixMode getMode() throws AoException
getMode
in interface ValueMatrixOperations
AoException
- with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEprotected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx, java.lang.String operation, org.omg.CORBA.NVList arg_list, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exclist, org.omg.CORBA.ContextList ctxlist)
_create_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _duplicate()
_duplicate
in interface org.omg.CORBA.Object
public org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers
in interface org.omg.CORBA.Object
public org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy
in interface org.omg.CORBA.Object
public int _hash(int maximum)
_hash
in interface org.omg.CORBA.Object
public boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent
in interface org.omg.CORBA.Object
public void _release()
_release
in interface org.omg.CORBA.Object
public org.omg.CORBA.Request _request(java.lang.String operation)
_request
in interface org.omg.CORBA.Object
public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
_set_policy_override
in interface org.omg.CORBA.Object
public long lastAccessTime()
AvalonDestroyable
lastAccessTime
in interface AvalonDestroyable
public void touch() throws AoException
AvalonDestroyable
touch
in interface AvalonDestroyable
AoException
- if touch fails