@OslcNamespace(value="http://www.w3.org/ns/shacl#") @OslcName(value="Property") @OslcResourceShape(title="SHACL Property Resource Shape", describes="http://www.w3.org/ns/shacl#Property") public class Property extends AbstractResource
Constructor and Description |
---|
Property() |
Property(URI path,
ValueType dataType,
BigInteger minCount,
BigInteger maxCount) |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
public Property()
public Property(URI path, ValueType dataType, BigInteger minCount, BigInteger maxCount)
@OslcDescription(value="Use cases of this feature include shape reuse and debugging.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#deactivated") @OslcValueType(value=Boolean) @OslcTitle(value="Deactivated") public Boolean isDeactivated()
public void addIn(Object newIn)
@OslcDescription(value="path of a property") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#path") @OslcReadOnly @OslcName(value="path") public URI getPath()
public void setPath(URI path)
@OslcDescription(value="Sets the order of a property") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#order") @OslcReadOnly @OslcName(value="order") public BigInteger getOrder()
public void setOrder(BigInteger order)
@OslcDescription(value="Indicate that the shape belongs to a group of related property shapes") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#group") @OslcReadOnly @OslcName(value="group") public URI getGroup()
public void setGroup(URI group)
@OslcAllowedValue(value={"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(value="See list of allowed values for sh:datatype") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#datatype") @OslcReadOnly @OslcName(value="datatype") @OslcTitle(value="Data Type") public URI getDataType()
public void setDataType(URI dataType)
@OslcDescription(value="Specifies the description") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#description") @OslcTitle(value="Description") @OslcValueType(value=String) @OslcName(value="description") public String getDescription()
public void setDescription(String description)
@OslcDescription(value="Specifies the message to be shown in resultMessage of Validation report") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#message") @OslcTitle(value="Message") @OslcValueType(value=String) @OslcName(value="message") public String getMessage()
public void setMessage(String message)
@OslcDescription(value="Specifies the name") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#name") @OslcTitle(value="Name") @OslcValueType(value=String) public String getName()
public void setName(String name)
@OslcDescription(value="Specifies the min count") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#minCount") @OslcReadOnly @OslcTitle(value="Min Count") @OslcValueType(value=Integer) public BigInteger getMinCount()
public void setMinCount(BigInteger minCount)
@OslcDescription(value="Specifies the max count") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#maxCount") @OslcReadOnly @OslcTitle(value="Max Count") @OslcValueType(value=Integer) public BigInteger getMaxCount()
public void setMaxCount(BigInteger maxCount)
@OslcDescription(value="Specifies the range: Min Exclusive") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#minExclusive") @OslcValueType(value=Integer) @OslcTitle(value="Range Min Exclusive") public BigInteger getMinExclusive()
public void setMinExclusive(BigInteger minExclusive)
@OslcDescription(value="Specifies the range: Max Exclusive") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#maxExclusive") @OslcValueType(value=Integer) @OslcTitle(value="Range Max Exclusive") public BigInteger getMaxExclusive()
public void setMaxExclusive(BigInteger maxExclusive)
@OslcDescription(value="Specifies the range: Min Inclusive") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#minInclusive") @OslcValueType(value=Integer) @OslcTitle(value="Range Min Inclusive") public BigInteger getMinInclusive()
public void setMinInclusive(BigInteger minInclusive)
@OslcDescription(value="Specifies the range: Max Inclusive") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#maxInclusive") @OslcValueType(value=Integer) @OslcTitle(value="Range Max Inclusive") public BigInteger getMaxInclusive()
public void setMaxInclusive(BigInteger maxInclusive)
@OslcDescription(value="Specifies the minimum string length of each value node that satisfies the condition.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#minLength") @OslcValueType(value=Integer) @OslcTitle(value="Minimum Length") public BigInteger getMinLength()
public void setMinLength(BigInteger minLength)
@OslcDescription(value="Specifies the maximum string length of each value node that satisfies the condition.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#maxLength") @OslcValueType(value=Integer) @OslcTitle(value="Maximum Length") public BigInteger getMaxLength()
public void setMaxLength(BigInteger maxLength)
@OslcDescription(value="Specifies a regular expression that each value node matches to satisfy the condition.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#pattern") @OslcValueType(value=String) @OslcTitle(value="Pattern") public String getPattern()
public void setPattern(String pattern)
@OslcDescription(value="Specifies the allowed language tags for each value node limited by a given list of language tags.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#languageIn") @OslcValueType(value=String) @OslcTitle(value="LanguageIn") public String[] getLanguageIn()
public void setLanguageIn(String[] languageIn)
@OslcDescription(value="Specifies that no pair of value nodes may use the same language tag if set true.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#uniqueLang") @OslcValueType(value=Boolean) @OslcTitle(value="UniqueLang") public Boolean getUniqueLang()
public void setUniqueLang(Boolean uniqueLang)
@OslcDescription(value="Specifies the Class of a node") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#class") @OslcTitle(value="Class") @OslcName(value="class") public URI getClassType()
public void setClassType(URI classType)
@OslcDescription(value="Specifies the node kind. Values can be: sh:BlankNode, sh:IRI, sh:Literal sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral and sh:IRIOrLiteral") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#nodeKind") @OslcTitle(value="Node Kind") public URI getNodeKind()
public void setNodeKind(URI nodeKind)
@OslcDescription(value="sh:node specifies the condition that each value node conforms to the given node shape.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#node") @OslcTitle(value="Node") public URI getNode()
public void setNode(URI node)
@OslcDescription(value="specifies the condition that each value node is a member of a provided SHACL list.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#in") @OslcTitle(value="In") @OslcRdfCollectionType public Object[] getIn()
public void setIn(String[] in)
@OslcDescription(value="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(value="http://www.w3.org/ns/shacl#severity") @OslcReadOnly @OslcName(value="severity") public URI getSeverity()
public void setSeverity(URI severity)
@OslcDescription(value="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(value="http://www.w3.org/ns/shacl#equals") @OslcReadOnly @OslcName(value="equals") public URI getEquals()
public void setEquals(URI equals)
@OslcDescription(value="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(value="http://www.w3.org/ns/shacl#disjoint") @OslcReadOnly @OslcName(value="disjoint") public URI getDisjoint()
public void setDisjoint(URI disjoint)
@OslcDescription(value="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(value="http://www.w3.org/ns/shacl#lessThan") @OslcReadOnly @OslcName(value="lessThan") public URI getLessThan()
public void setLessThan(URI lessThan)
@OslcDescription(value="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(value="http://www.w3.org/ns/shacl#lessThanOrEquals") @OslcReadOnly @OslcName(value="lessThanOrEquals") public URI getLessThanOrEquals()
public void setLessThanOrEquals(URI lessThanOrEquals)
@OslcDescription(value="sh:hasValue specifies the condition that at least one value node is equal to the given RDF term.") @OslcPropertyDefinition(value="http://www.w3.org/ns/shacl#hasValue") @OslcReadOnly @OslcName(value="hasValue") public URI getHasValue()
public void setHasValue(URI hasValue)
public void setDeactivated(Boolean deactivated)
Copyright © 2019. All rights reserved.