org.openprovenance.elmo
Class RdfValue

java.lang.Object
  extended by org.openprovenance.model.EmbeddedAnnotation
      extended by org.openprovenance.model.Value
          extended by org.openprovenance.elmo.RdfValue
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString, HasFacade, Annotable, HasAccounts, Identifiable

public class RdfValue
extends Value
implements HasFacade


Field Summary
 
Fields inherited from class org.openprovenance.model.Value
content, encoding
 
Fields inherited from class org.openprovenance.model.EmbeddedAnnotation
account, annotation, id, property
 
Constructor Summary
RdfValue(org.openrdf.elmo.ElmoManager manager, QName qname)
           
RdfValue(org.openrdf.elmo.ElmoManager manager, String prefix)
           
 
Method Summary
 AValue findMyFacade()
           
 QName getQName()
           
 void setContent(Object value)
          Sets the value of the content property.
 void setEncoding(String encoding)
          Sets the value of the encoding property.
 void setFields(Object content, String encoding)
           
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class org.openprovenance.model.Value
equals, equals, getContent, getEncoding, hashCode, hashCode, toString, toString
 
Methods inherited from class org.openprovenance.model.EmbeddedAnnotation
getAccount, getAnnotation, getId, getProperty
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RdfValue

public RdfValue(org.openrdf.elmo.ElmoManager manager,
                QName qname)

RdfValue

public RdfValue(org.openrdf.elmo.ElmoManager manager,
                String prefix)
Method Detail

setId

public void setId(String value)
Description copied from class: EmbeddedAnnotation
Sets the value of the id property.

Specified by:
setId in interface Identifiable
Overrides:
setId in class EmbeddedAnnotation
Parameters:
value - allowed object is String

setContent

public void setContent(Object value)
Description copied from class: Value
Sets the value of the content property.

Overrides:
setContent in class Value
Parameters:
value - allowed object is Object

setEncoding

public void setEncoding(String encoding)
Description copied from class: Value
Sets the value of the encoding property.

Overrides:
setEncoding in class Value
Parameters:
encoding - allowed object is String

getQName

public QName getQName()
Specified by:
getQName in interface HasFacade

findMyFacade

public AValue findMyFacade()
Specified by:
findMyFacade in interface HasFacade

setFields

public void setFields(Object content,
                      String encoding)


Copyright © 2011. All Rights Reserved.