|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
gov.sandia.ccaffeine.dc.user_iface.MVC.event.RepositoryEvent
public class RepositoryEvent
An entity can use this event to request a list of all components that are in the repository or to request one specific component.
| Field Summary | |
|---|---|
protected java.lang.String |
className
|
protected java.lang.String |
command
|
static java.lang.String |
GET
A command value |
static java.lang.String |
GET_GLOBAL
A command value |
static java.lang.String |
GET_LAZY
A command value |
static java.lang.String |
GET_LAZY_GLOBAL
A command value |
static java.lang.String |
LIST
A command value |
protected int |
numberOfArguments
|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
RepositoryEvent(java.lang.Object source)
Construct a RepositoryEvent. |
|
RepositoryEvent(java.lang.Object source,
int numberOfArguments,
java.lang.String command)
Construct a RepositoryEvent. |
|
RepositoryEvent(java.lang.Object source,
int numberOfArguments,
java.lang.String command,
java.lang.String className)
Construct a RepositoryEvent. |
|
RepositoryEvent(java.lang.Object source,
java.lang.String command)
Construct a RepositoryEvent. |
|
RepositoryEvent(java.lang.Object source,
java.lang.String command,
java.lang.String className)
Construct a RepositoryEvent. |
|
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
|
java.lang.String |
getCommand()
Retrieve the command. |
int |
getNumberOfArguments()
Request the number of arguments in the "repository" command. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int numberOfArguments
public static final java.lang.String LIST
public static final java.lang.String GET
public static final java.lang.String GET_GLOBAL
public static final java.lang.String GET_LAZY
public static final java.lang.String GET_LAZY_GLOBAL
protected java.lang.String command
protected java.lang.String className
| Constructor Detail |
|---|
public RepositoryEvent(java.lang.Object source)
source - The entity that created this event.
public RepositoryEvent(java.lang.Object source,
java.lang.String command)
source - The entity that created this event.command - the command.
The command must be LIST.
public RepositoryEvent(java.lang.Object source,
int numberOfArguments,
java.lang.String command)
source - The entity that created this event.numberOfArguments - The number of arguments
in the command line.command - the command.
The command must be LIST.
public RepositoryEvent(java.lang.Object source,
java.lang.String command,
java.lang.String className)
source - The entity that created this event.command - the command.
The command can be one of the following values:
LIST, GET, GET_GLOBAL, GET_LAZY, GET_LAZY_GLOBALclassName - If we are retrieving the value of one class,
then we need the name of the class.
public RepositoryEvent(java.lang.Object source,
int numberOfArguments,
java.lang.String command,
java.lang.String className)
source - The entity that created this event.numberOfArguments - The number of arguments
in the command line.command - the command.
The command can be one of the following values:
LIST, GET, GET_GLOBAL, GET_LAZY, GET_LAZY_GLOBALclassName - If we are retrieving the value of one class,
then we need the name of the class.| Method Detail |
|---|
public int getNumberOfArguments()
public java.lang.String getCommand()
public java.lang.String getClassName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||