Package com.rometools.modules.base.types
Class PriceTypeEnumeration
- java.lang.Object
-
- com.rometools.modules.base.types.PriceTypeEnumeration
-
- All Implemented Interfaces:
CloneableType,Cloneable
public class PriceTypeEnumeration extends Object implements CloneableType
Enumeration of values suitable for "price_type" or "salary_type".
-
-
Field Summary
Fields Modifier and Type Field Description static PriceTypeEnumerationNEGOTIABLEIndicates the value is negotiablestatic PriceTypeEnumerationSTARTINGIndicates the value is a starting value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Returns a duplicate of this instancestatic PriceTypeEnumerationfindByValue(String value)Returns a PriceTypeEnumeration based on the String value or null.StringgetValue()Returns the string value of this instance.StringtoString()Returns the string value of this instance.
-
-
-
Field Detail
-
STARTING
public static final PriceTypeEnumeration STARTING
Indicates the value is a starting value.
-
NEGOTIABLE
public static final PriceTypeEnumeration NEGOTIABLE
Indicates the value is negotiable
-
-
Method Detail
-
getValue
public String getValue()
Returns the string value of this instance.- Returns:
- Returns the string value of this instance.
-
findByValue
public static PriceTypeEnumeration findByValue(String value)
Returns a PriceTypeEnumeration based on the String value or null.- Parameters:
value- Value to search for.- Returns:
- PriceTypeEnumeration or null.
-
clone
public Object clone()
Returns a duplicate of this instance- Specified by:
clonein interfaceCloneableType- Overrides:
clonein classObject- Returns:
- The same instance.
-
-