java.lang.Object
org.apache.jena.enhanced.Polymorphic<RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.ResourceImpl
org.apache.jena.rdf.model.impl.ContainerImpl
org.apache.jena.rdf.model.impl.AltImpl
- All Implemented Interfaces:
FrontsNode
,Alt
,Container
,RDFNode
,Resource
An implementation of Alt.
-
Field Summary
Fields inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
rdfNodeFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the default value for this resource.Return the default value for this resource.Return the default value for this resource.boolean
Return the default value for this resource.byte
Return the default value for this resource.char
Return the default value for this resource.double
Return the default value for this resource.float
Return the default value for this resource.int
Return the default value for this resource.Return the language of the default value for this resource.Return the default value for this resource.long
Return the default value for this resource.Return the default value for this resource.Return the default value for this resource.short
Return the default value for this resource.Return the default value for this resource.setDefault
(boolean o) Set the default value of this container.setDefault
(char o) Set the default value of this container.setDefault
(double o) Set the default value of this container.setDefault
(float o) Set the default value of this container.setDefault
(long o) Set the default value of this container.setDefault
(Object o) Set the default value of this container.setDefault
(String o) Set the default value of this container.setDefault
(String o, String l) Set the default value of this container.Set the default value of this container.Methods inherited from class org.apache.jena.rdf.model.impl.ContainerImpl
add, add, add, add, add, add, add, add, add, containerContains, containerIndexOf, contains, contains, contains, contains, contains, contains, contains, contains, contains, isAlt, isBag, isSeq, iterator, listContainerMembers, remove, remove, size
Methods inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString, visitWith
Methods inherited from class org.apache.jena.enhanced.EnhNode
as, asNode, canAs, equals, getGraph, hashCode, isAnon, isLiteral, isResource, isStmtResource, isURIResource, isValid, viewAs
Methods inherited from class org.apache.jena.enhanced.Polymorphic
addView, supports
Methods inherited from interface org.apache.jena.rdf.model.Container
add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, isAlt, isBag, isSeq, iterator, size
Methods inherited from interface org.apache.jena.graph.FrontsNode
asNode
Methods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWith
Methods inherited from interface org.apache.jena.rdf.model.Resource
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
-
Field Details
-
factory
-
-
Constructor Details
-
AltImpl
Creates new AltMem -
AltImpl
-
AltImpl
-
AltImpl
-
-
Method Details
-
getDefault
Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefault
in interfaceAlt
- Returns:
- the default value for this resource.
-
getDefaultResource
Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultResource
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultLiteral
Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultLiteral
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultBoolean
public boolean getDefaultBoolean()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultBoolean
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultByte
public byte getDefaultByte()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultByte
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultShort
public short getDefaultShort()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultShort
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultInt
public int getDefaultInt()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultInt
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultLong
public long getDefaultLong()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultLong
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultChar
public char getDefaultChar()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultChar
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultFloat
public float getDefaultFloat()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultFloat
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultDouble
public double getDefaultDouble()Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultDouble
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultString
Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultString
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultLanguage
Description copied from interface:Alt
Return the language of the default value for this resource.- Specified by:
getDefaultLanguage
in interfaceAlt
- Returns:
- the language of the default value for this resource
-
getDefaultAlt
Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultAlt
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultBag
Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultBag
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
getDefaultSeq
Description copied from interface:Alt
Return the default value for this resource.- Specified by:
getDefaultSeq
in interfaceAlt
- Returns:
- the default value for this resource interpreted as the return type.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-
setDefault
Description copied from interface:Alt
Set the default value of this container.- Specified by:
setDefault
in interfaceAlt
- Parameters:
o
- The value to be set.- Returns:
- This object to permit cascading calls.
-