org.limitless.nmc.Prototype1
Class CommandDestroy

java.lang.Object
  extended by org.limitless.nmc.Prototype1.CommandDestroy
All Implemented Interfaces:
Command

public class CommandDestroy
extends java.lang.Object
implements Command

This causes an object to be removed from the database, and any relation which holds this object will have the object removed from it. It's possible that removal of an object from a relation will cause the rule to be violated and the relation to expire as well. This should happen, but it should be done within the database, NOT by this command. See 5.1.2.5 in the prototype_1.html document.

Version:
1.0
Author:
Brian Jones

Constructor Summary
CommandDestroy()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandDestroy

public CommandDestroy()
Method Detail

getHelpDetailed

public java.lang.String[] getHelpDetailed()
Description copied from interface: Command
Give the long help information.

Specified by:
getHelpDetailed in interface Command

getHelpSummary

public java.lang.String getHelpSummary()
Description copied from interface: Command
Get the single-line help detail

Specified by:
getHelpSummary in interface Command

invoke

public void invoke(java.lang.String[] args)
Description copied from interface: Command
Process the command

Specified by:
invoke in interface Command


Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.