|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdai.lang.QueryResultSet.ItemStruct
This class is a structure to store query result item
value in an efficient way. It implements interface
SerializableRef
therefore objects of class can
be passed to getXxxByRef
methods directly as long as
they contain reference to JSDAI object of interest.
SdaiSession.getRepositoryByRef(SerializableRef)
,
SdaiRepository.getSdaiModelByRef(SerializableRef)
,
SdaiRepository.getSchemaInstanceByRef(SerializableRef)
,
SdaiRepository.getInstanceByRef(SerializableRef)
,
Serialized FormField Summary | |
char |
itemType
This field containts the item type. |
long |
modelId
A database id of the remote model which contains the referenced entity instance. |
double |
numericValue
A numeric value |
long |
persistentLabel
A persistent label of a remote entity instance |
long |
repositoryId
A database id of the remote repository which contains the referenced entity instance. |
java.lang.String |
stringValue
A string value |
static char |
TYPE_ENTITY
This structure contains a reference to entity instance. |
static char |
TYPE_NUMERIC
This structure contains a reference to numeric value. |
static char |
TYPE_STRING
This structure contains a reference to string value. |
int |
typeIndex
An entity instance type index or -1 if this information is not available |
Fields inherited from interface jsdai.query.SerializableRef |
AENTITY_REF, ASCHEMA_INSTANCE_REF, ASDAI_MODEL_REF, EENTITY_REF, SCHEMA_INSTANCE_REF, SDAI_MODEL_REF, SDAI_REPOSITORY_REF |
Constructor Summary | |
QueryResultSet.ItemStruct()
|
Method Summary | |
jsdai.query.SerializableRef[] |
getMembers()
Not implemented method of SerializableRef
because this structure can not contain this type of information. |
long |
getModelId()
Returns SdaiModel identifier on remote database. |
long |
getPersistentLabel()
Returns EEntity instance persistent label. |
long |
getRepositoryId()
Returns SdaiRepository identifier on remote database. |
long |
getSchemaInstanceId()
Not implemented method of SerializableRef
because this structure can not contain this type of information. |
int |
getType()
Returns type of this reference. |
int |
getTypeIndex()
Returns EEntity instance type index which is the internal
JSDAI index to increase the instance searching speed. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final char TYPE_ENTITY
repositoryId
, modelId
,
persistentLabel
and typeIndex
.
The structure is available for use as SerializableRef
.
public static final char TYPE_NUMERIC
numericValue
is filled in.
public static final char TYPE_STRING
stringValue
is filled in.
public char itemType
TYPE_ENTITY
,
TYPE_NUMERIC
or
TYPE_STRING
public long repositoryId
TYPE_ENTITY
public long modelId
TYPE_ENTITY
public long persistentLabel
TYPE_ENTITY
public int typeIndex
TYPE_ENTITY
public transient double numericValue
TYPE_NUMERIC
public transient java.lang.String stringValue
TYPE_STRING
Constructor Detail |
public QueryResultSet.ItemStruct()
Method Detail |
public int getType()
getType
in interface jsdai.query.SerializableRef
EENTITY_REF
if this is a reference to entity instance
or -1 otherwisepublic long getRepositoryId()
SdaiRepository
identifier on remote database.
getRepositoryId
in interface jsdai.query.SerializableRef
SdaiRepository
identifier or -1 is this reference
does not contain the reference to SdaiRepository
public long getModelId()
SdaiModel
identifier on remote database.
getModelId
in interface jsdai.query.SerializableRef
SdaiModel
identifier or -1 is this reference
does not contain the reference to SdaiModel
public long getPersistentLabel()
EEntity
instance persistent label.
getPersistentLabel
in interface jsdai.query.SerializableRef
EEntity
instance persistent label or -1 is this reference
does not contain the reference to EEntity
public int getTypeIndex()
EEntity
instance type index which is the internal
JSDAI index to increase the instance searching speed.
getTypeIndex
in interface jsdai.query.SerializableRef
EEntity
instance type index or -1 is this reference
does not contain this indexpublic long getSchemaInstanceId()
SerializableRef
because this structure can not contain this type of information.
getSchemaInstanceId
in interface jsdai.query.SerializableRef
public jsdai.query.SerializableRef[] getMembers()
SerializableRef
because this structure can not contain this type of information.
getMembers
in interface jsdai.query.SerializableRef
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |