public static enum CCO.Vocabulary extends Enum<CCO.Vocabulary>
| Enum Constant and Description |
|---|
CATEGORY
The category.
|
METHOD
The method.
|
SCALE
The scale.
|
TRAIT
The trait.
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Resource |
getResource()
Gets the resource.
|
String |
getTag()
Gets the tag.
|
static com.hp.hpl.jena.rdf.model.Resource |
set(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource subject,
CCO.Vocabulary vType,
String name)
Method to create an RDF Resource documenting a CCO vocabulary.
|
static CCO.Vocabulary |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CCO.Vocabulary[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CCO.Vocabulary TRAIT
public static final CCO.Vocabulary CATEGORY
public static final CCO.Vocabulary METHOD
public static final CCO.Vocabulary SCALE
public static CCO.Vocabulary[] values()
for (CCO.Vocabulary c : CCO.Vocabulary.values()) System.out.println(c);
public static CCO.Vocabulary 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 getTag()
public com.hp.hpl.jena.rdf.model.Resource getResource()
public static com.hp.hpl.jena.rdf.model.Resource set(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.Resource subject,
CCO.Vocabulary vType,
String name)
model - the modelsubject - the subjectvType - the v typename - the nameCopyright © 2016. All rights reserved.