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
Constructors Constructor Description Property()
Property(URI path, ValueType dataType, BigInteger minCount, BigInteger maxCount)
-
Method Summary
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
Property
public Property()
-
Property
public Property(URI path, ValueType dataType, BigInteger minCount, BigInteger maxCount)
-
-
Method Detail
-
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
public void addIn(Object newIn)
-
getPath
@OslcDescription("path of a property") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#path") @OslcReadOnly @OslcName("path") public URI getPath()
-
setPath
public void setPath(URI path)
-
getOrder
@OslcDescription("Sets the order of a property") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#order") @OslcReadOnly @OslcName("order") public BigInteger getOrder()
-
setOrder
public void setOrder(BigInteger order)
-
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
public void setGroup(URI group)
-
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
public void setDataType(URI dataType)
-
getDescription
@OslcDescription("Specifies the description") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#description") @OslcTitle("Description") @OslcValueType(String) @OslcName("description") public String getDescription()
-
setDescription
public void setDescription(String description)
-
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
public void setMessage(String message)
-
getName
@OslcDescription("Specifies the name") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#name") @OslcTitle("Name") @OslcValueType(String) public String getName()
-
setName
public void setName(String name)
-
getMinCount
@OslcDescription("Specifies the min count") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#minCount") @OslcReadOnly @OslcTitle("Min Count") @OslcValueType(Integer) public BigInteger getMinCount()
-
setMinCount
public void setMinCount(BigInteger minCount)
-
getMaxCount
@OslcDescription("Specifies the max count") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#maxCount") @OslcReadOnly @OslcTitle("Max Count") @OslcValueType(Integer) public BigInteger getMaxCount()
-
setMaxCount
public void setMaxCount(BigInteger maxCount)
-
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
public void setMinExclusive(BigInteger minExclusive)
-
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
public void setMaxExclusive(BigInteger maxExclusive)
-
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
public void setMinInclusive(BigInteger minInclusive)
-
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
public void setMaxInclusive(BigInteger maxInclusive)
-
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
public void setMinLength(BigInteger minLength)
-
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
public void setMaxLength(BigInteger maxLength)
-
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
public void setPattern(String pattern)
-
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
public void setLanguageIn(String[] languageIn)
-
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
public void setUniqueLang(Boolean uniqueLang)
-
getClassType
@OslcDescription("Specifies the Class of a node") @OslcPropertyDefinition("http://www.w3.org/ns/shacl#class") @OslcTitle("Class") @OslcName("class") public URI getClassType()
-
setClassType
public void setClassType(URI classType)
-
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
public void setNodeKind(URI nodeKind)
-
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
public void setNode(URI node)
-
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
public void setIn(String[] in)
-
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
public void setSeverity(URI severity)
-
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
public void setEquals(URI equals)
-
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
public void setDisjoint(URI disjoint)
-
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
public void setLessThan(URI lessThan)
-
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
public void setLessThanOrEquals(URI lessThanOrEquals)
-
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
public void setHasValue(URI hasValue)
-
setDeactivated
public void setDeactivated(Boolean deactivated)
-
-