public class AttributeImpl extends AbstractAttributeImpl implements Attribute
INDENTATION| Constructor and Description |
|---|
AttributeImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph eg) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.rdf.model.RDFNode |
getDefaultValue()
Gets the declared default value of this attribute, as defined
using spl:defaultValue.
|
Integer |
getMaxCount()
Gets the maximum cardinality of this attribute, if specified.
|
int |
getMinCount()
Gets the minimum cardinality of this attribute.
|
boolean |
isOptional()
Checks if this argument has been declared to be optional.
|
getComment, getPredicate, getValueType, printgetElements, getElements, getList, hasRDFType, printComment, printNestedElementList, printNestedElementList, printNestedExpressionString, printNestedExpressionString, printPrefixes, printVariableExpression, printVariableExpression, printVarOrResource, toStringgetInteger, getLiteral, getLong, getRDFNode, getResource, getString, inferRDFNodeabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComment, getPredicate, getValueTypeabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toStringpublic AttributeImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph eg)
public boolean isOptional()
AbstractAttributeisOptional in interface AbstractAttributepublic org.apache.jena.rdf.model.RDFNode getDefaultValue()
AttributegetDefaultValue in interface Attributepublic Integer getMaxCount()
AttributegetMaxCount in interface Attributepublic int getMinCount()
AttributegetMinCount in interface AttributeCopyright © 2017 TopQuadrant, Inc.. All rights reserved.