|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.data.Entity<Metrics>
things.thing.RESULT
public class RESULT
An result set. It is an entity with a metric.
Version History
EPG - Initial - 26 FEB 07
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface things.data.Data |
---|
Data.Priority, Data.Type |
Field Summary |
---|
Fields inherited from class things.data.Entity |
---|
attributes |
Constructor Summary | |
---|---|
RESULT(Data.Type theType)
Constructor. |
|
RESULT(int numeric,
Metrics theMetrics,
Data.Type theType)
Constructor. |
|
RESULT(int numeric,
Metrics theMetrics,
Data.Type theType,
AttributeReader additionalAttributes)
Constructor. |
|
RESULT(int numeric,
Metrics theMetrics,
Data.Type theType,
java.lang.String... additionalAttributes)
Constructor. |
|
RESULT(int numeric,
Metrics theMetrics,
Data.Type theType,
WhoAmI imposedId,
WhoAmI creatorId)
Constructor. |
|
RESULT(int numeric,
Metrics theMetrics,
Data.Type theType,
WhoAmI imposedId,
WhoAmI creatorId,
AttributeReader additionalAttributes)
Constructor. |
|
RESULT(int numeric,
Metrics theMetrics,
Data.Type theType,
WhoAmI imposedId,
WhoAmI creatorId,
java.lang.String... additionalAttributes)
Constructor. |
|
RESULT(Metrics theMetrics,
Data.Type theType)
Constructor. |
|
RESULT(Metrics theMetrics,
Data.Type theType,
AttributeReader additionalAttributes)
Constructor. |
|
RESULT(Metrics theMetrics,
Data.Type theType,
java.lang.String... additionalAttributes)
Constructor. |
|
RESULT(Metrics theMetrics,
Data.Type theType,
WhoAmI imposedId,
WhoAmI creatorId)
Constructor. |
Method Summary | |
---|---|
RESULT |
forgeChild(int numeric,
Data.Type theType)
Forge a child. |
RESULT |
forgeChild(int numeric,
Data.Type theType,
java.lang.String... additionalAttributes)
Forge a child. |
static RESULT |
forgeResult(int numeric,
Data.Type theType,
Metrics metrics,
java.lang.Throwable t,
java.lang.String... additionalAttributes)
Forge a child. |
java.util.Collection<NVImmutable> |
getAllAttributes()
Get a NVImmutable collection for all attributes and metrics. |
java.util.Collection<NVImmutable> |
getAllAttributes(java.lang.String... additionalAttributes)
Get a NVImmutable collection for all attributes and metrics. |
AttributeReader |
getAllAttributesReader()
Get a reader for all attributes and metrics. |
AttributeReader |
getAllAttributesReader(java.lang.String... additionalAttributes)
Get a reader for all attributes and metrics. |
Methods inherited from class things.data.Entity |
---|
birthMyChild, birthMyChild, getAttributes, getCreatorID, getID, getNumeric, getNumericString, getPriority, getStamp, getThing, getType, getTypedThing, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RESULT(Data.Type theType) throws ThingsException
theType
- the Data type. It must be a result type or an exception will be thrown.
ThingsException
Data
public RESULT(Metrics theMetrics, Data.Type theType) throws ThingsException
theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.
ThingsException
Data
public RESULT(Metrics theMetrics, Data.Type theType, WhoAmI imposedId, WhoAmI creatorId) throws ThingsException
theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.imposedId
- the imposed id.creatorId
- the creator id.
ThingsException
Data
public RESULT(int numeric, Metrics theMetrics, Data.Type theType, WhoAmI imposedId, WhoAmI creatorId) throws ThingsException
numeric
- the numeric code for the operation.theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.imposedId
- the imposed id.creatorId
- the creator id.
ThingsException
Data
public RESULT(int numeric, Metrics theMetrics, Data.Type theType, WhoAmI imposedId, WhoAmI creatorId, java.lang.String... additionalAttributes) throws ThingsException
numeric
- the numeric code for the operation.theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.imposedId
- the imposed id.creatorId
- the creator id.additionalAttributes
- attributes. Usually for error or exception reporting.
ThingsException
Data
public RESULT(int numeric, Metrics theMetrics, Data.Type theType, WhoAmI imposedId, WhoAmI creatorId, AttributeReader additionalAttributes) throws ThingsException
numeric
- the numeric code for the operation.theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.imposedId
- the imposed id.creatorId
- the creator id.additionalAttributes
- attributes. Usually for error or exception reporting.
ThingsException
Data
public RESULT(Metrics theMetrics, Data.Type theType, java.lang.String... additionalAttributes) throws ThingsException
theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.additionalAttributes
- attributes. Usually for error or exception reporting.
ThingsException
Data
public RESULT(Metrics theMetrics, Data.Type theType, AttributeReader additionalAttributes) throws ThingsException
theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.additionalAttributes
- attributes through a reader. Usually for error or exception reporting.
ThingsException
Data
public RESULT(int numeric, Metrics theMetrics, Data.Type theType) throws ThingsException
numeric
- the numeric code for the operation.theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.
ThingsException
Data
public RESULT(int numeric, Metrics theMetrics, Data.Type theType, java.lang.String... additionalAttributes) throws ThingsException
numeric
- the numeric code for the operation.theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.additionalAttributes
- attributes. Usually for error or exception reporting.
ThingsException
Data
public RESULT(int numeric, Metrics theMetrics, Data.Type theType, AttributeReader additionalAttributes) throws ThingsException
numeric
- the numeric code for the operation.theMetrics
- metrics for this operationtheType
- the Data type. It must be a result type or an exception will be thrown.additionalAttributes
- attributes through a reader. Usually for error or exception reporting.
ThingsException
Data
Method Detail |
---|
public java.util.Collection<NVImmutable> getAllAttributes() throws ThingsException
ThingsException
NVImmutable
public java.util.Collection<NVImmutable> getAllAttributes(java.lang.String... additionalAttributes) throws ThingsException
additionalAttributes
- to add to the set before returning them.
ThingsException
NVImmutable
public AttributeReader getAllAttributesReader() throws ThingsException
ThingsException
NVImmutable
public AttributeReader getAllAttributesReader(java.lang.String... additionalAttributes) throws ThingsException
additionalAttributes
- to add to the set before returning them.
ThingsException
public RESULT forgeChild(int numeric, Data.Type theType) throws ThingsException
numeric
- theType
-
ThingsException
public RESULT forgeChild(int numeric, Data.Type theType, java.lang.String... additionalAttributes) throws ThingsException
numeric
- theType
- additionalAttributes
-
ThingsException
public static RESULT forgeResult(int numeric, Data.Type theType, Metrics metrics, java.lang.Throwable t, java.lang.String... additionalAttributes) throws ThingsException
numeric
- theType
- metrics
- t
- throwable. If null, it is ignored. If ThingsException, it will extract the attributes.additionalAttributes
-
ThingsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |