|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.limitless.nmc.Prototype1.CommandQuery
public class CommandQuery
This is a mechanism to list all relations (and the objects they connect) based on query conditions. The complexity of this query will increase as we learn more what sorts of things we'd like to know. This is highly subject to change! See 5.1.2.7 in the prototype_1.html document.
| Constructor Summary | |
|---|---|
CommandQuery()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getHelpDetailed()
Give the long help information. |
java.lang.String |
getHelpSummary()
Get the single-line help detail |
void |
invoke(java.lang.String[] args)
Process the command |
boolean |
isHandlingRelation()
Return true if you wish to handle Relation objects |
boolean |
isHandlingRelationRule()
Return true if you wish to handle relation rules |
boolean |
isHandlingRole()
Return TRUE if you want to be given VRRole objects. |
boolean |
isHandlingVRObject()
return true if you wish to handle VR objects., |
void |
visit(RelationObject r)
process the relation |
void |
visit(RelationRule r)
process relation rule |
void |
visit(VRObject o)
Process VR Object |
void |
visit(VRRole r)
process Role |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandQuery()
| Method Detail |
|---|
public boolean isHandlingRole()
isHandlingRole in interface StorageVisitorpublic boolean isHandlingRelationRule()
isHandlingRelationRule in interface StorageVisitorpublic boolean isHandlingRelation()
isHandlingRelation in interface StorageVisitorpublic boolean isHandlingVRObject()
isHandlingVRObject in interface StorageVisitorpublic void visit(VRObject o)
visit in interface StorageVisitoro - public void visit(VRRole r)
visit in interface StorageVisitorr - public void visit(RelationObject r)
visit in interface StorageVisitorr - public void visit(RelationRule r)
visit in interface StorageVisitorr - public java.lang.String[] getHelpDetailed()
Command
getHelpDetailed in interface Commandpublic java.lang.String getHelpSummary()
Command
getHelpSummary in interface Commandpublic void invoke(java.lang.String[] args)
Command
invoke in interface Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||