public enum PrimitiveType extends Enum<PrimitiveType> implements Serializable, HasShortForm
Enum Constant and Description |
---|
ANNOTATION_PROPERTY
ANNOTATION_PROPERTY.
|
CLASS
CLASS.
|
DATA_PROPERTY
DATA_PROPERTY.
|
DATATYPE
DATATYPE.
|
IRI
IRI.
|
LITERAL
LITERAL.
|
NAMED_INDIVIDUAL
NAMED_INDIVIDUAL.
|
OBJECT_PROPERTY
OBJECT_PROPERTY.
|
Modifier and Type | Method and Description |
---|---|
String |
getPluralPrintName() |
String |
getPrintName() |
String |
getShortForm()
Gets the short form.
|
static PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType CLASS
public static final PrimitiveType OBJECT_PROPERTY
public static final PrimitiveType DATA_PROPERTY
public static final PrimitiveType ANNOTATION_PROPERTY
public static final PrimitiveType DATATYPE
public static final PrimitiveType NAMED_INDIVIDUAL
public static final PrimitiveType LITERAL
public static final PrimitiveType IRI
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType 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 getShortForm()
HasShortForm
getShortForm
in interface HasShortForm
public String getPrintName()
public String getPluralPrintName()
Copyright © 2020 The University of Manchester. All rights reserved.