Enum PublisherFieldType
- java.lang.Object
-
- java.lang.Enum<PublisherFieldType>
-
- io.vertigo.quarto.publisher.definitions.PublisherFieldType
-
- All Implemented Interfaces:
Serializable
,Comparable<PublisherFieldType>
public enum PublisherFieldType extends Enum<PublisherFieldType>
Type des champs.- Author:
- npiedeloup, pchretien
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkValue(Object value)
Validation du type d'une valeur.static PublisherFieldType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PublisherFieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
String
public static final PublisherFieldType String
Champ de type chaine. Primitif.
-
Boolean
public static final PublisherFieldType Boolean
Champ de type boolean. Primitif.
-
List
public static final PublisherFieldType List
Champ de type List.
-
Node
public static final PublisherFieldType Node
Champ de type Objet.
-
Image
public static final PublisherFieldType Image
Champ de type Image.
-
-
Method Detail
-
values
public static PublisherFieldType[] 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 (PublisherFieldType c : PublisherFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PublisherFieldType 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 nameNullPointerException
- if the argument is null
-
checkValue
public boolean checkValue(Object value)
Validation du type d'une valeur.- Parameters:
value
- Valeur- Returns:
- Si la valeur correspond au type du champ.
-
-