|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.QuerySpec
wt.query.NavigateSpec
This class implements a specification for a navigate query.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private boolean |
navigateEventCompatible
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
static int |
ROLE_FROM_INDEX
Role class from index. |
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.query.QuerySpec |
LINK_FROM_INDEX |
Fields inherited from interface wt.pds.StatementSpec |
ADVANCED_QUERY, ADVANCED_QUERY_ENABLED, AGGREGATE_SELECT, CORRELATED_CLASS_ATTRIBUTES, FETCH_SIZE, PRIMARY_CLASS, QUERY_LIMIT, RESULT_BUILDER, RESULT_CURSOR, SINGLE_RESULT_COMPATIBLE, STATEMENT_BUILDER, USE_BIND |
Constructor Summary | |
NavigateSpec()
This constructor initializes the instance. |
|
NavigateSpec(Class a_linkClass,
String a_role,
Object a_source)
This constructor initializes the instance. |
|
NavigateSpec(QuerySpec a_querySpec,
String a_role,
Object a_source)
This constructor initializes the instance. |
Method Summary | |
Object |
getSource()
Gets the value of the attribute: source; Object source to navigate from. |
private void |
initializeClasses(Class a_linkClass,
String a_role)
|
boolean |
isNavigateEventCompatible()
Gets the value of the attribute: navigateEventCompatible; This attribute indicates if this specification should generate Navigate events when exectued. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(NavigateSpec thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setNavigateEventCompatible(boolean a_NavigateEventCompatible)
Sets the value of the attribute: navigateEventCompatible; This attribute indicates if this specification should generate Navigate events when exectued. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final int ROLE_FROM_INDEX
private boolean navigateEventCompatible
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public NavigateSpec(QuerySpec a_querySpec, String a_role, Object a_source) throws WTException, WTPropertyVetoException
a_querySpec
- QuerySpec to use for initial criteria.a_role
- The role to navigate.a_source
- Object that specfies the source of the navigation.
WTException
WTPropertyVetoException
public NavigateSpec(Class a_linkClass, String a_role, Object a_source) throws WTException, WTPropertyVetoException
a_linkClass
- Link class to navigate.a_role
- The role to navigate.a_source
- Object that specfies the source of the navigation.
WTException
WTPropertyVetoException
public NavigateSpec() throws QueryException
QueryException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class QuerySpec
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class QuerySpec
input
-
IOException
ClassNotFoundException
protected boolean readVersion(NavigateSpec thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public boolean isNavigateEventCompatible()
public void setNavigateEventCompatible(boolean a_NavigateEventCompatible) throws WTPropertyVetoException
a_NavigateEventCompatible
-
WTPropertyVetoException
public Object getSource()
private void initializeClasses(Class a_linkClass, String a_role) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |