org.fuin.jmsmvc4swing.jms
Class RequestMessageType

java.lang.Object
  extended by org.fuin.jmsmvc4swing.jms.RequestMessageType
All Implemented Interfaces:
MessageType

public final class RequestMessageType
extends Object
implements MessageType

Request message send to the controller.


Field Summary
static RequestMessageType START
          Call a method.
 
Method Summary
static RequestMessageType forName(String name)
          Returns the instance for a name.
static RequestMessageType[] getAll()
          Returns a list of all kown instances.
 String getName()
          Name of the type.
static boolean isValid(String name)
          Returns if a give name is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START

public static final RequestMessageType START
Call a method.

Method Detail

getName

public final String getName()
Name of the type.

Specified by:
getName in interface MessageType
Returns:
Unique name.

isValid

public static boolean isValid(String name)
Returns if a give name is valid.

Parameters:
name - Type name.
Returns:
If the name is valid TRUE else FALSE.

forName

public static RequestMessageType forName(String name)
Returns the instance for a name.

Parameters:
name - Name to get the (singleton) instance for.
Returns:
Instance.

getAll

public static RequestMessageType[] getAll()
Returns a list of all kown instances.

Returns:
Copy of the internal instances list.


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.