|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hp.hpl.mesa.rdf.jena.common.ResourceImpl | +--com.hp.hpl.mesa.rdf.jena.common.ContainerImpl | +--com.hp.hpl.mesa.rdf.jena.common.AltImpl
An implementation of Alt.
Constructor Summary | |
AltImpl(Model model)
Creates new AltMem |
|
AltImpl(Resource r,
Model m)
|
|
AltImpl(java.lang.String uri,
Model model)
|
Method Summary | |
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. |
java.lang.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. |
java.lang.Object |
getDefaultObject(ObjectF f)
Return the default value for this resource. |
Resource |
getDefaultResource()
Return the default value for this resource. |
Resource |
getDefaultResource(ResourceF f)
Return the default value for this resource. |
Seq |
getDefaultSeq()
Return the default value for this resource. |
short |
getDefaultShort()
Return the default value for this resource. |
java.lang.String |
getDefaultString()
Return the default value for this resource. |
Resource |
port(Model m)
For internal use only |
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(java.lang.Object o)
Set the default value of this container. |
Alt |
setDefault(RDFNode o)
Set the default value of this container. |
Alt |
setDefault(java.lang.String o)
Set the default value of this container. |
Alt |
setDefault(java.lang.String o,
java.lang.String l)
Set the default value of this container. |
Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.ContainerImpl |
add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, iterator, remove, remove, size |
Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.ResourceImpl |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getEmbeddedResource, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hashCode, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Alt |
remove |
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Container |
add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, contains, iterator, size |
Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Resource |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties, removeProperties, toString |
Constructor Detail |
public AltImpl(Model model) throws RDFException
public AltImpl(java.lang.String uri, Model model) throws RDFException
public AltImpl(Resource r, Model m) throws RDFException
Method Detail |
public RDFNode getDefault() throws RDFException
Alt
getDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic Resource getDefaultResource() throws RDFException
Alt
getDefaultResource
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic Literal getDefaultLiteral() throws RDFException
Alt
getDefaultLiteral
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic boolean getDefaultBoolean() throws RDFException
Alt
getDefaultBoolean
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic byte getDefaultByte() throws RDFException
Alt
getDefaultByte
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic short getDefaultShort() throws RDFException
Alt
getDefaultShort
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic int getDefaultInt() throws RDFException
Alt
getDefaultInt
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic long getDefaultLong() throws RDFException
Alt
getDefaultLong
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic char getDefaultChar() throws RDFException
Alt
getDefaultChar
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic float getDefaultFloat() throws RDFException
Alt
getDefaultFloat
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic double getDefaultDouble() throws RDFException
Alt
getDefaultDouble
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic java.lang.String getDefaultString() throws RDFException
Alt
getDefaultString
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic java.lang.String getDefaultLanguage() throws RDFException
Alt
getDefaultLanguage
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic Resource getDefaultResource(ResourceF f) throws RDFException
Alt
The factory class f is used to create the object which is returned.
getDefaultResource
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
f
- A factory class which will be used to create the
object returned.RDFException
- Generic RDF Exceptionpublic java.lang.Object getDefaultObject(ObjectF f) throws RDFException
Alt
The object returned is created by calling the
createObject
method of the factory object f
.
getDefaultObject
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
f
- A factory object used to create the object returned.RDFException
- Generic RDF Exceptionpublic Alt getDefaultAlt() throws RDFException
Alt
getDefaultAlt
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic Bag getDefaultBag() throws RDFException
Alt
getDefaultBag
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic Seq getDefaultSeq() throws RDFException
Alt
getDefaultSeq
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
RDFException
- Generic RDF Exceptionpublic Alt setDefault(RDFNode o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(boolean o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(long o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(char o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(float o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(double o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(java.lang.String o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(java.lang.String o, java.lang.String l) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.RDFException
- Generic RDF exceptionpublic Alt setDefault(java.lang.Object o) throws RDFException
Alt
setDefault
in interface Alt
com.hp.hpl.mesa.rdf.jena.model.Alt
o
- The value to be set.l
- The language of the value to be setRDFException
- Generic RDF exceptionpublic Resource port(Model m) throws RDFException
ResourceI
port
in class ResourceImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |