public enum PatternParameterConstraints extends Enum<PatternParameterConstraints>
PatternParameterConstraints class.
| Enum Constant and Description |
|---|
Class
The parameter is restricted to a Class
|
None
The parameter can be anything, even a free variable (?var)
|
Operator
The parameter can be an operator
|
Property
The parameter is restricted to a property
|
Resource
The parameter can a resource
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUri()
getUri.
|
static PatternParameterConstraints |
resolve(String value)
Resolves a full URI/IRI to an enum
|
String |
toString() |
static PatternParameterConstraints |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatternParameterConstraints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternParameterConstraints Resource
public static final PatternParameterConstraints Property
public static final PatternParameterConstraints Class
public static final PatternParameterConstraints Operator
public static final PatternParameterConstraints None
public static PatternParameterConstraints[] values()
for (PatternParameterConstraints c : PatternParameterConstraints.values()) System.out.println(c);
public static PatternParameterConstraints 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()
getUri.
public String toString()
toString in class Enum<PatternParameterConstraints>public static PatternParameterConstraints resolve(String value)
value - the URI/IRI we want to resolveCopyright © 2015. All rights reserved.