org.jomc.model
Enum ArgumentType

Package class diagram package ArgumentType
java.lang.Object
  extended by java.lang.Enum<ArgumentType>
      extended by org.jomc.model.ArgumentType
All Implemented Interfaces:
Serializable, Comparable<ArgumentType>

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public enum ArgumentType
extends Enum<ArgumentType>

Java class for ArgumentType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ArgumentType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
     <enumeration value="Number"/>
     <enumeration value="Date"/>
     <enumeration value="Time"/>
     <enumeration value="Text"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
DATE
          Argument of type java.util.Date.
NUMBER
          Argument of type java.lang.Number.
TEXT
          Argument of type java.lang.String.
TIME
          Argument of type java.util.Date.
 
Method Summary
static ArgumentType fromValue(String v)
           
 String value()
           
static ArgumentType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ArgumentType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NUMBER

public static final ArgumentType NUMBER
Argument of type java.lang.Number.


DATE

public static final ArgumentType DATE
Argument of type java.util.Date.


TIME

public static final ArgumentType TIME
Argument of type java.util.Date.


TEXT

public static final ArgumentType TEXT
Argument of type java.lang.String.

Method Detail

values

public static ArgumentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ArgumentType c : ArgumentType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ArgumentType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static ArgumentType fromValue(String v)


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.