public class Mapping.mapProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.jena.datatypes.RDFDatatype |
dataType |
(package private) java.lang.String |
entityType |
(package private) java.util.List<java.lang.String> |
functionArguments |
(package private) java.lang.String |
generatorFunction |
(package private) java.lang.String |
instance |
(package private) java.lang.String |
language |
(package private) java.lang.String |
part |
(package private) java.lang.String |
predicate |
(package private) Mapping.MappingProfile |
profile |
(package private) java.lang.String |
resourceType |
Constructor and Description |
---|
mapProperties()
Constructor of mapProperties class.
|
Modifier and Type | Method and Description |
---|---|
org.apache.jena.datatypes.RDFDatatype |
getDataType()
Provides the data type used for literals of a resource.
|
java.lang.String |
getEntityType()
Provides the entity type of the resource.
|
java.util.List<java.lang.String> |
getFunctionArguments()
Provides the list of arguments where a built-in function will be applied in order to generate values for this attribute.
|
java.lang.String |
getGeneratorFunction()
Provides the name of built-in function that will be used to generate values for this attribute.
|
java.lang.String |
getInstance()
Provides the ontology class that this resource is an instance of.
|
java.lang.String |
getLanguage()
Provides the language tag used in string literals for this resource.
|
Mapping.MappingProfile |
getMappingProfile()
Provides the profile to be applied in the generation of triples regarding this attribute according to the mapping.
|
java.lang.String |
getPart()
Provides the name of parent property that this resource is part of.
|
java.lang.String |
getPredicate()
Provides the predicate property of the resource.
|
java.lang.String |
getResourceType()
Provides the type of the resource.
|
java.lang.String[] |
getResourceTypeFunction()
Provides the built-in function and its arguments that will generate the type of the resource.
|
void |
setDataType(java.lang.String d)
Sets or updates the data type for literals of a resource.
|
void |
setEntityType(java.lang.String e)
Sets or updates the entity type of the resource.
|
void |
setFunctionArgument(java.lang.String a)
Sets or updates an argument for a built-in function that will generate the values for this attribute.
|
void |
setGeneratorFunction(java.lang.String f)
Sets or updates the name of built-in function that will generate the values for this attribute.
|
void |
setInstance(java.lang.String i)
Sets or updates the ontology class that this resource is an instance of.
|
void |
setLanguage(java.lang.String l)
Sets or updates the language tag to be used in string literals for this resource.
|
void |
setMappingProfile()
Sets or updates the profile to be applied during generation of triples for this attribute according to the user-specified mappings.
|
void |
setPart(java.lang.String p)
Sets or updates the name of parent property that this resource is part of.
|
void |
setPredicate(java.lang.String p)
Sets or updates the predicate property of the resource.
|
void |
setResourceType(java.lang.String r)
Sets or updates the type of the resource.
|
java.lang.String entityType
java.lang.String predicate
java.lang.String resourceType
java.lang.String language
java.lang.String instance
java.lang.String part
java.lang.String generatorFunction
java.util.List<java.lang.String> functionArguments
org.apache.jena.datatypes.RDFDatatype dataType
Mapping.MappingProfile profile
public void setEntityType(java.lang.String e)
e
- The user-specified entity type.public void setPredicate(java.lang.String p)
p
- The user-specified predicate.public void setResourceType(java.lang.String r)
r
- The user-specified type of the resource.public void setLanguage(java.lang.String l)
l
- The language tag for string literals.public void setInstance(java.lang.String i)
i
- The name of the class in the ontology.public void setPart(java.lang.String p)
p
- The name of the parent property in the ontology.public void setGeneratorFunction(java.lang.String f)
f
- The name of the built-in function (this function is declared in the Assistant class).public void setFunctionArgument(java.lang.String a)
a
- The name of the argument to be used for the built-in function (this function declared in the Assistant class).public void setDataType(java.lang.String d)
d
- The XSD data type to be assigned to literals.public void setMappingProfile()
public java.lang.String getEntityType()
public java.lang.String getPredicate()
public java.lang.String getResourceType()
public java.lang.String[] getResourceTypeFunction()
public java.lang.String getLanguage()
public java.lang.String getInstance()
public java.lang.String getPart()
public java.lang.String getGeneratorFunction()
public java.util.List<java.lang.String> getFunctionArguments()
public org.apache.jena.datatypes.RDFDatatype getDataType()
public Mapping.MappingProfile getMappingProfile()