Package org.eclipse.lyo.shacl
Class Property
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.shacl.Property
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.w3.org/ns/shacl#")
@OslcName("Property")
@OslcResourceShape(title="SHACL Property Resource Shape",
describes="http://www.w3.org/ns/shacl#Property")
public class Property
extends AbstractResource
- Since:
- 2.3.0
- Version:
- $version-stub$
- Author:
- Yash Khatri
-
Constructor Summary
ConstructorsConstructorDescriptionProperty()Property(URI path, ValueType dataType, BigInteger minCount, BigInteger maxCount) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetGroup()Object[]getIn()String[]getName()getNode()getOrder()getPath()voidsetClassType(URI classType) voidsetDataType(URI dataType) voidsetDeactivated(Boolean deactivated) voidsetDescription(String description) voidsetDisjoint(URI disjoint) voidvoidvoidsetHasValue(URI hasValue) voidvoidsetLanguageIn(String[] languageIn) voidsetLessThan(URI lessThan) voidsetLessThanOrEquals(URI lessThanOrEquals) voidsetMaxCount(BigInteger maxCount) voidsetMaxExclusive(BigInteger maxExclusive) voidsetMaxInclusive(BigInteger maxInclusive) voidsetMaxLength(BigInteger maxLength) voidsetMessage(String message) voidsetMinCount(BigInteger minCount) voidsetMinExclusive(BigInteger minExclusive) voidsetMinInclusive(BigInteger minInclusive) voidsetMinLength(BigInteger minLength) voidvoidvoidsetNodeKind(URI nodeKind) voidsetOrder(BigInteger order) voidvoidsetPattern(String pattern) voidsetSeverity(URI severity) voidsetUniqueLang(Boolean uniqueLang) toString()Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Property
public Property() -
Property
-
-
Method Details
-
toString
-
isDeactivated
@OslcDescription("Use cases of this feature include shape reuse and debugging.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#deactivated") @OslcValueType(Boolean) @OslcTitle("Deactivated") public Boolean isDeactivated() -
addIn
-
getPath
@OslcDescription("path of a property") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#path") @OslcReadOnly @OslcName("path") public URI getPath() -
setPath
-
getOrder
@OslcDescription("Sets the order of a property") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#order") @OslcReadOnly @OslcName("order") public BigInteger getOrder() -
setOrder
-
getGroup
@OslcDescription("Indicate that the shape belongs to a group of related property shapes") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#group") @OslcReadOnly @OslcName("group") public URI getGroup() -
setGroup
-
getDataType
@OslcAllowedValue({"http://www.w3.org/2001/XMLSchema#boolean","http://www.w3.org/2001/XMLSchema#dateTime","http://www.w3.org/2001/XMLSchema#decimal","http://www.w3.org/2001/XMLSchema#double","http://www.w3.org/2001/XMLSchema#float","http://www.w3.org/2001/XMLSchema#integer","http://www.w3.org/2001/XMLSchema#string","http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"}) @OslcDescription("See list of allowed values for sh:datatype") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://www.w3.org/ns/shacl#datatype") @OslcReadOnly @OslcName("datatype") @OslcTitle("Data Type") public URI getDataType() -
setDataType
-
getDescription
@OslcDescription("Specifies the description") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#description") @OslcTitle("Description") @OslcValueType(String) @OslcName("description") public String getDescription() -
setDescription
-
getMessage
@OslcDescription("Specifies the message to be shown in resultMessage of Validation report") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#message") @OslcTitle("Message") @OslcValueType(String) @OslcName("message") public String getMessage() -
setMessage
-
getName
@OslcDescription("Specifies the name") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#name") @OslcTitle("Name") @OslcValueType(String) public String getName() -
setName
-
getMinCount
@OslcDescription("Specifies the min count") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#minCount") @OslcReadOnly @OslcTitle("Min Count") @OslcValueType(Integer) public BigInteger getMinCount() -
setMinCount
-
getMaxCount
@OslcDescription("Specifies the max count") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#maxCount") @OslcReadOnly @OslcTitle("Max Count") @OslcValueType(Integer) public BigInteger getMaxCount() -
setMaxCount
-
getMinExclusive
@OslcDescription("Specifies the range: Min Exclusive") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#minExclusive") @OslcValueType(Integer) @OslcTitle("Range Min Exclusive") public BigInteger getMinExclusive() -
setMinExclusive
-
getMaxExclusive
@OslcDescription("Specifies the range: Max Exclusive") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#maxExclusive") @OslcValueType(Integer) @OslcTitle("Range Max Exclusive") public BigInteger getMaxExclusive() -
setMaxExclusive
-
getMinInclusive
@OslcDescription("Specifies the range: Min Inclusive") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#minInclusive") @OslcValueType(Integer) @OslcTitle("Range Min Inclusive") public BigInteger getMinInclusive() -
setMinInclusive
-
getMaxInclusive
@OslcDescription("Specifies the range: Max Inclusive") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#maxInclusive") @OslcValueType(Integer) @OslcTitle("Range Max Inclusive") public BigInteger getMaxInclusive() -
setMaxInclusive
-
getMinLength
@OslcDescription("Specifies the minimum string length of each value node that satisfies the condition.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#minLength") @OslcValueType(Integer) @OslcTitle("Minimum Length") public BigInteger getMinLength() -
setMinLength
-
getMaxLength
@OslcDescription("Specifies the maximum string length of each value node that satisfies the condition.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#maxLength") @OslcValueType(Integer) @OslcTitle("Maximum Length") public BigInteger getMaxLength() -
setMaxLength
-
getPattern
@OslcDescription("Specifies a regular expression that each value node matches to satisfy the condition.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#pattern") @OslcValueType(String) @OslcTitle("Pattern") public String getPattern() -
setPattern
-
getLanguageIn
@OslcDescription("Specifies the allowed language tags for each value node limited by a given list of language tags.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#languageIn") @OslcValueType(String) @OslcTitle("LanguageIn") public String[] getLanguageIn() -
setLanguageIn
-
getUniqueLang
@OslcDescription("Specifies that no pair of value nodes may use the same language tag if set true.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#uniqueLang") @OslcValueType(Boolean) @OslcTitle("UniqueLang") public Boolean getUniqueLang() -
setUniqueLang
-
getClassType
@OslcDescription("Specifies the Class of a node") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#class") @OslcTitle("Class") @OslcName("class") public URI getClassType() -
setClassType
-
getNodeKind
@OslcDescription("Specifies the node kind. Values can be: sh:BlankNode, sh:IRI, sh:Literal sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral and sh:IRIOrLiteral") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#nodeKind") @OslcTitle("Node Kind") public URI getNodeKind() -
setNodeKind
-
getNode
@OslcDescription("sh:node specifies the condition that each value node conforms to the given node shape.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#node") @OslcTitle("Node") public URI getNode() -
setNode
-
getIn
@OslcDescription("specifies the condition that each value node is a member of a provided SHACL list.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#in") @OslcTitle("In") @OslcRdfCollectionType public Object[] getIn() -
setIn
-
getSeverity
@OslcDescription("The specific values of sh:severity have no impact on the validation, but may be used by user interface tools to categorize validation results.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#severity") @OslcReadOnly @OslcName("severity") public URI getSeverity() -
setSeverity
-
getEquals
@OslcDescription("sh:equals specifies the condition that the set of all value nodes is equal to the set of objects of the triples that have the focus node as subject and the value of sh:equals as predicate.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#equals") @OslcReadOnly @OslcName("equals") public URI getEquals() -
setEquals
-
getDisjoint
@OslcDescription("sh:disjoint specifies the condition that the set of value nodes is disjoint with the set of objects of the triples that have the focus node as subject and the value of sh:equals as predicate.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#disjoint") @OslcReadOnly @OslcName("disjoint") public URI getDisjoint() -
setDisjoint
-
getLessThan
@OslcDescription("sh:lessThan specifies the condition that each value node is smaller than all the objects of the triples that have the focus node as subject and the value of sh:lessThan as predicate.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#lessThan") @OslcReadOnly @OslcName("lessThan") public URI getLessThan() -
setLessThan
-
getLessThanOrEquals
@OslcDescription("sh:lessThanOrEquals specifies the condition that each value node is smaller than or equal to all the objects of the triples that have the focus node as subject and the value of sh:lessThanOrEquals as predicate.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#lessThanOrEquals") @OslcReadOnly @OslcName("lessThanOrEquals") public URI getLessThanOrEquals() -
setLessThanOrEquals
-
getHasValue
@OslcDescription("sh:hasValue specifies the condition that at least one value node is equal to the given RDF term.") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#hasValue") @OslcReadOnly @OslcName("hasValue") public URI getHasValue() -
setHasValue
-
setDeactivated
-