public static enum RdfGraphPrefixConfig.Field extends java.lang.Enum<RdfGraphPrefixConfig.Field> implements ConfigField
Enum Constant and Description |
---|
PREFIX
iri prefix
|
VALUE
expanded iri
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultVal()
Gets the default value of this field.
|
java.util.List<java.lang.String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
java.lang.Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isEnum()
Checks if this field is of enum type.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isPrimitive()
Checks if this field is of primitive type.
|
boolean |
isRequired()
Checks if this field is required.
|
java.lang.String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
java.lang.String |
toString() |
static RdfGraphPrefixConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RdfGraphPrefixConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final RdfGraphPrefixConfig.Field PREFIX
public static final RdfGraphPrefixConfig.Field VALUE
public java.lang.Object getDefaultVal()
ConfigField
getDefaultVal
in interface ConfigField
public java.util.List<java.lang.String> getKeyAliases()
ConfigField
getKeyAliases
in interface ConfigField
public java.lang.Class<?> getType()
ConfigField
getType
in interface ConfigField
public boolean isArray()
ConfigField
isArray
in interface ConfigField
public boolean isEnum()
ConfigField
isEnum
in interface ConfigField
public boolean isPath()
ConfigField
isPath
in interface ConfigField
public boolean isPrimitive()
ConfigField
isPrimitive
in interface ConfigField
public boolean isRequired()
ConfigField
isRequired
in interface ConfigField
public java.lang.String toKey()
ConfigField
toKey
in interface ConfigField
public java.lang.String toString()
toString
in class java.lang.Enum<RdfGraphPrefixConfig.Field>
public static RdfGraphPrefixConfig.Field valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RdfGraphPrefixConfig.Field[] values()
for (RdfGraphPrefixConfig.Field c : RdfGraphPrefixConfig.Field.values()) System.out.println(c);
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.