public enum SpecialFieldEnum extends Enum<SpecialFieldEnum>
All those field do use the NamespaceEnum.entityhubQuery namespace.
Entries of this enumeration are equals to the local name of the URIs.
and are also defined by the RdfResourceEnum. This enumeration is
intended to be used by Yard implementations to efficiently work with
special fields (e.g. decide if a field is a special field)
| Enum Constant and Description |
|---|
fullText
The full text field.
|
references
The semantic context field.
|
| Modifier and Type | Method and Description |
|---|---|
NamespaceEnum |
getNamespace() |
String |
getQName() |
static SpecialFieldEnum |
getSpecialField(String name)
Getter for the
SpecialFieldEnum for the parsed name
(local name or qname or full URI) |
String |
getUri() |
static boolean |
isSpecialField(String name)
Checks if the parsed name (local name or qname or full URI) is a
special field
|
static SpecialFieldEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecialFieldEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecialFieldEnum fullText
Text and String values
of any outgoing relationpublic static final SpecialFieldEnum references
Reference values
of any outgoing relationpublic static SpecialFieldEnum[] values()
for (SpecialFieldEnum c : SpecialFieldEnum.values()) System.out.println(c);
public static SpecialFieldEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getUri()
public String getQName()
public NamespaceEnum getNamespace()
public static final boolean isSpecialField(String name)
name - the local name, qname or URItrue if the parsed name references to a special field
or otherwise falsepublic static SpecialFieldEnum getSpecialField(String name)
SpecialFieldEnum for the parsed name
(local name or qname or full URI)name - the local name, qname or URISpecialFieldEnum or null if the parsed
name does not refer to a special field.Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.