public class AltImpl extends ContainerImpl implements Alt
Modifier and Type | Field and Description |
---|---|
static Implementation |
factory |
rdfNodeFactory
Constructor and Description |
---|
AltImpl(ModelCom model)
Creates new AltMem
|
AltImpl(Node n,
EnhGraph g) |
AltImpl(Resource r,
ModelCom m) |
AltImpl(String uri,
ModelCom model) |
Modifier and Type | Method and Description |
---|---|
RDFNode |
getDefault()
Return the default value for this resource.
|
Alt |
getDefaultAlt()
Return the default value for this resource.
|
Bag |
getDefaultBag()
Return the default value for this resource.
|
boolean |
getDefaultBoolean()
Return the default value for this resource.
|
byte |
getDefaultByte()
Return the default value for this resource.
|
char |
getDefaultChar()
Return the default value for this resource.
|
double |
getDefaultDouble()
Return the default value for this resource.
|
float |
getDefaultFloat()
Return the default value for this resource.
|
int |
getDefaultInt()
Return the default value for this resource.
|
String |
getDefaultLanguage()
Return the language of the default value for this resource.
|
Literal |
getDefaultLiteral()
Return the default value for this resource.
|
long |
getDefaultLong()
Return the default value for this resource.
|
Resource |
getDefaultResource()
Return the default value for this resource.
|
Resource |
getDefaultResource(ResourceF f)
Deprecated.
|
Seq |
getDefaultSeq()
Return the default value for this resource.
|
short |
getDefaultShort()
Return the default value for this resource.
|
String |
getDefaultString()
Return the default value for this resource.
|
Alt |
setDefault(boolean o)
Set the default value of this container.
|
Alt |
setDefault(char o)
Set the default value of this container.
|
Alt |
setDefault(double o)
Set the default value of this container.
|
Alt |
setDefault(float o)
Set the default value of this container.
|
Alt |
setDefault(long o)
Set the default value of this container.
|
Alt |
setDefault(Object o)
Set the default value of this container.
|
Alt |
setDefault(RDFNode o)
Set the default value of this container.
|
Alt |
setDefault(String o)
Set the default value of this container.
|
Alt |
setDefault(String o,
String l)
Set the default value of this container.
|
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
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, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString, visitWith
as, asNode, canAs, equals, getGraph, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAs
addView, supports
add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, isAlt, isBag, isSeq, iterator, size
abort, 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, toString
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isURIResource, visitWith
asNode
public static final Implementation factory
public AltImpl(ModelCom model)
public RDFNode getDefault()
Alt
getDefault
in interface Alt
public Resource getDefaultResource()
Alt
getDefaultResource
in interface Alt
public Literal getDefaultLiteral()
Alt
getDefaultLiteral
in interface Alt
public boolean getDefaultBoolean()
Alt
getDefaultBoolean
in interface Alt
public byte getDefaultByte()
Alt
getDefaultByte
in interface Alt
public short getDefaultShort()
Alt
getDefaultShort
in interface Alt
public int getDefaultInt()
Alt
getDefaultInt
in interface Alt
public long getDefaultLong()
Alt
getDefaultLong
in interface Alt
public char getDefaultChar()
Alt
getDefaultChar
in interface Alt
public float getDefaultFloat()
Alt
getDefaultFloat
in interface Alt
public double getDefaultDouble()
Alt
getDefaultDouble
in interface Alt
public String getDefaultString()
Alt
getDefaultString
in interface Alt
public String getDefaultLanguage()
Alt
getDefaultLanguage
in interface Alt
@Deprecated public Resource getDefaultResource(ResourceF f)
Alt
The factory class f is used to create the object which is returned.
getDefaultResource
in interface Alt
f
- A factory class which will be used to create the
object returned.public Alt getDefaultAlt()
Alt
getDefaultAlt
in interface Alt
public Bag getDefaultBag()
Alt
getDefaultBag
in interface Alt
public Seq getDefaultSeq()
Alt
getDefaultSeq
in interface Alt
public Alt setDefault(RDFNode o)
Alt
setDefault
in interface Alt
o
- The value to be set.public Alt setDefault(boolean o)
Alt
setDefault
in interface Alt
o
- The value to be set.public Alt setDefault(long o)
Alt
setDefault
in interface Alt
o
- The value to be set.public Alt setDefault(char o)
Alt
setDefault
in interface Alt
o
- The value to be set.public Alt setDefault(float o)
Alt
setDefault
in interface Alt
o
- The value to be set.public Alt setDefault(double o)
Alt
setDefault
in interface Alt
o
- The value to be set.public Alt setDefault(Object o)
Alt
setDefault
in interface Alt
o
- The value to be set.public Alt setDefault(String o)
Alt
setDefault
in interface Alt
o
- The value to be set.Licenced under the Apache License, Version 2.0