|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Category>
com.sage.orion.sdata.Category
public enum Category
The categories in SData. This defines the sort of things for example in an Atom feed or entry. The categories are defined by the SData specification, and especially by the categories.xml file
Enum Constant Summary | |
---|---|
application
|
|
collection
|
|
contract
|
|
dataset
|
|
group
|
|
operation
|
|
provider
|
|
queries
|
|
query
|
|
request
|
|
resource
|
|
response
|
|
schema
|
|
service
|
Field Summary | |
---|---|
static java.lang.String |
LABEL_ATTRIBUTE_TAG
The name of the xml attribute used for the label of a category |
static java.lang.String |
SCHEME_ATTRIBUTE_TAG
The name of the xml attribute used for the scheme of a category |
static java.lang.String |
SCHEME_ATTRIBUTE_VALUE
The value of the xml attribute used for the scheme of a category |
static java.lang.String |
TERM_ATTRIBUTE_TAG
The name of the xml attribute used for the term of a category. |
Method Summary | |
---|---|
org.w3c.dom.Element |
toElement(org.w3c.dom.Document doc)
gets the item as a DOM Element |
static Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Category[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Category application
public static final Category collection
public static final Category contract
public static final Category dataset
public static final Category group
public static final Category provider
public static final Category resource
public static final Category operation
public static final Category request
public static final Category response
public static final Category schema
public static final Category service
public static final Category queries
public static final Category query
Field Detail |
---|
public static final java.lang.String LABEL_ATTRIBUTE_TAG
public static final java.lang.String SCHEME_ATTRIBUTE_TAG
public static final java.lang.String SCHEME_ATTRIBUTE_VALUE
public static final java.lang.String TERM_ATTRIBUTE_TAG
Method Detail |
---|
public static Category[] values()
for (Category c : Category.values()) System.out.println(c);
public static Category 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 name
java.lang.NullPointerException
- if the argument is nullpublic final org.w3c.dom.Element toElement(org.w3c.dom.Document doc)
doc
- the document in which to place the element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |