org.ow2.dragon.api.to.organization
Enum PostSearchProperties

java.lang.Object
  extended by java.lang.Enum<PostSearchProperties>
      extended by org.ow2.dragon.api.to.organization.PostSearchProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PostSearchProperties>

public enum PostSearchProperties
extends java.lang.Enum<PostSearchProperties>

An enumeration of Dragon supported post search properties

Author:
ofabre - eBM Websourcing

Enum Constant Summary
DESCRIPTION
           
NAME
           
NATURE
           
 
Method Summary
static PostSearchProperties fromString(java.lang.String property)
          Return the PostSearchProperties related to the given string or null if it isn't supported
 java.lang.String toString()
           
static PostSearchProperties valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PostSearchProperties[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NAME

public static final PostSearchProperties NAME

NATURE

public static final PostSearchProperties NATURE

DESCRIPTION

public static final PostSearchProperties DESCRIPTION
Method Detail

values

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

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

valueOf

public static PostSearchProperties valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<PostSearchProperties>

fromString

public static PostSearchProperties fromString(java.lang.String property)
Return the PostSearchProperties related to the given string or null if it isn't supported

Parameters:
property - the string representing a potential PostSearchProperties
Returns:
the PostSearchProperties enum related to the given String


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.