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, sizeabort, 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, visitWithas, asNode, canAs, equals, getGraph, hashCode, isAnon, isLiteral, isResource, isStmtResource, isURIResource, isValid, viewAsaddView, supportsadd, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, isAlt, isBag, isSeq, iterator, sizeabort, 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, toStringas, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWithasNodepublic static final Implementation factory
public AltImpl(ModelCom model)
public RDFNode getDefault()
AltgetDefault in interface Altpublic Resource getDefaultResource()
AltgetDefaultResource in interface Altpublic Literal getDefaultLiteral()
AltgetDefaultLiteral in interface Altpublic boolean getDefaultBoolean()
AltgetDefaultBoolean in interface Altpublic byte getDefaultByte()
AltgetDefaultByte in interface Altpublic short getDefaultShort()
AltgetDefaultShort in interface Altpublic int getDefaultInt()
AltgetDefaultInt in interface Altpublic long getDefaultLong()
AltgetDefaultLong in interface Altpublic char getDefaultChar()
AltgetDefaultChar in interface Altpublic float getDefaultFloat()
AltgetDefaultFloat in interface Altpublic double getDefaultDouble()
AltgetDefaultDouble in interface Altpublic String getDefaultString()
AltgetDefaultString in interface Altpublic String getDefaultLanguage()
AltgetDefaultLanguage in interface Alt@Deprecated public Resource getDefaultResource(ResourceF f)
AltThe factory class f is used to create the object which is returned.
getDefaultResource in interface Altf - A factory class which will be used to create the
object returned.public Alt getDefaultAlt()
AltgetDefaultAlt in interface Altpublic Bag getDefaultBag()
AltgetDefaultBag in interface Altpublic Seq getDefaultSeq()
AltgetDefaultSeq in interface Altpublic Alt setDefault(RDFNode o)
AltsetDefault in interface Alto - The value to be set.public Alt setDefault(boolean o)
AltsetDefault in interface Alto - The value to be set.public Alt setDefault(long o)
AltsetDefault in interface Alto - The value to be set.public Alt setDefault(char o)
AltsetDefault in interface Alto - The value to be set.public Alt setDefault(float o)
AltsetDefault in interface Alto - The value to be set.public Alt setDefault(double o)
AltsetDefault in interface Alto - The value to be set.public Alt setDefault(Object o)
AltsetDefault in interface Alto - The value to be set.public Alt setDefault(String o)
AltsetDefault in interface Alto - The value to be set.Licenced under the Apache License, Version 2.0