|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.limitless.nmc.Prototype1.CommandRule
public class CommandRule
A Rule describes a pattern a relation promises to meet. This command allows us to add, remove, and list rules. See 5.1.2.16 in the Prototype1 HTML.
| Constructor Summary | |
|---|---|
CommandRule()
|
|
| 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 CommandRule()
| 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 | |||||||||