|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.visitor.RoleExpandInfo
This class encapsulates the data necessary for navigating from a node
to other nodes via association links. Roles are associated with every
link. The role object is also an additional item that may be required
for some navigate methods. Examples of role objects include link class
and QuerySpec. The role object attribute of this class is often directly
associated with a particular implementation of the Expander interface.
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
private boolean |
reference
|
private static String |
RESOURCE
|
private String |
role
|
private Class |
roleClass
|
private Object |
roleObject
|
Constructor Summary | |
RoleExpandInfo(String a_role,
Class a_roleObject)
|
|
RoleExpandInfo(String a_role,
Object a_roleObject)
Supported API: true |
Method Summary | |
String |
getRole()
Gets the value of the attribute: role. |
Class |
getRoleClass()
|
Object |
getRoleObject()
Gets the value of the attribute: roleObject. |
boolean |
isReference()
|
private void |
roleValidate(String a_Role)
|
void |
setReference(boolean a_ref)
|
void |
setRole(String a_Role)
Sets the value of the attribute: role. |
void |
setRoleClass(Class c)
|
void |
setRoleObject(Object a_RoleObject)
Sets the value of the attribute: roleObject. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String role
private Object roleObject
private Class roleClass
private boolean reference
Constructor Detail |
public RoleExpandInfo(String a_role, Object a_roleObject) throws WTPropertyVetoException
a_role
- a_roleObject
-
WTPropertyVetoException
public RoleExpandInfo(String a_role, Class a_roleObject) throws WTPropertyVetoException
Method Detail |
public String getRole()
public void setRole(String a_Role) throws WTPropertyVetoException
a_Role
-
WTPropertyVetoException
private void roleValidate(String a_Role) throws WTPropertyVetoException
a_Role
-
WTPropertyVetoException
public Object getRoleObject()
public void setRoleObject(Object a_RoleObject) throws WTPropertyVetoException
a_RoleObject
-
WTPropertyVetoException
public Class getRoleClass()
public void setRoleClass(Class c)
public boolean isReference()
public void setReference(boolean a_ref)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |