public enum PropertyType extends Enum<PropertyType>
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyType.FloatPropertyMethod |
static class |
PropertyType.FloatPropertyStatement |
static class |
PropertyType.PropertyMethod |
static class |
PropertyType.PropertyStatement |
static class |
PropertyType.PropertyTypeException |
static class |
PropertyType.ResourcePropertyMethod |
static class |
PropertyType.ResourcePropertyStatement |
static class |
PropertyType.StringPropertyMethod |
static class |
PropertyType.StringPropertyStatement |
| Modifier and Type | Method and Description |
|---|---|
protected abstract PropertyType.PropertyMethod |
buildPropertyMethod(Method method,
Property annotation) |
protected abstract PropertyType.PropertyStatement |
buildPropertyStatement(org.apache.jena.rdf.model.Statement s) |
static PropertyType.PropertyMethod |
createPropertyMethod(Method method,
Property annotation) |
static PropertyType.PropertyStatement |
createPropertyStatement(org.apache.jena.rdf.model.Statement s) |
static PropertyType |
typeForObject(org.apache.jena.rdf.model.RDFNode object) |
static PropertyType |
typeForParameterType(Class<?> parameterType) |
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType RESOURCE
public static final PropertyType STRING
public static final PropertyType FLOAT
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 static PropertyType typeForObject(org.apache.jena.rdf.model.RDFNode object) throws PropertyType.PropertyTypeException
public static PropertyType typeForParameterType(Class<?> parameterType) throws PropertyType.PropertyTypeException
public static PropertyType.PropertyStatement createPropertyStatement(org.apache.jena.rdf.model.Statement s) throws PropertyType.PropertyTypeException
public static PropertyType.PropertyMethod createPropertyMethod(Method method, Property annotation) throws PropertyType.PropertyTypeException
protected abstract PropertyType.PropertyStatement buildPropertyStatement(org.apache.jena.rdf.model.Statement s)
protected abstract PropertyType.PropertyMethod buildPropertyMethod(Method method, Property annotation)
Copyright © 2022. All rights reserved.