org.openprovenance.model
Class Value

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

public class Value
extends EmbeddedAnnotation
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for Value complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Value">
   <complexContent>
     <extension base="{http://openprovenance.org/model/v1.1.a}EmbeddedAnnotation">
       <sequence>
         <element name="content" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
       </sequence>
       <attribute name="encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Object content
           
protected  String encoding
           
 
Fields inherited from class org.openprovenance.model.EmbeddedAnnotation
account, annotation, id, property
 
Constructor Summary
Value()
           
 
Method Summary
 boolean equals(Object object)
           
 void equals(Object object, EqualsBuilder equalsBuilder)
           
 Object getContent()
          Gets the value of the content property.
 String getEncoding()
          Gets the value of the encoding property.
 int hashCode()
           
 void hashCode(HashCodeBuilder hashCodeBuilder)
           
 void setContent(Object value)
          Sets the value of the content property.
 void setEncoding(String value)
          Sets the value of the encoding property.
 String toString()
           
 void toString(ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.openprovenance.model.EmbeddedAnnotation
getAccount, getAnnotation, getId, getProperty, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

content

protected Object content

encoding

protected String encoding
Constructor Detail

Value

public Value()
Method Detail

getContent

public Object getContent()
Gets the value of the content property.

Returns:
possible object is Object

setContent

public void setContent(Object value)
Sets the value of the content property.

Parameters:
value - allowed object is Object

getEncoding

public String getEncoding()
Gets the value of the encoding property.

Returns:
possible object is String

setEncoding

public void setEncoding(String value)
Sets the value of the encoding property.

Parameters:
value - allowed object is String

equals

public void equals(Object object,
                   EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class EmbeddedAnnotation

equals

public boolean equals(Object object)
Overrides:
equals in class EmbeddedAnnotation

hashCode

public void hashCode(HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class EmbeddedAnnotation

hashCode

public int hashCode()
Overrides:
hashCode in class EmbeddedAnnotation

toString

public void toString(ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
toString in class EmbeddedAnnotation

toString

public String toString()
Overrides:
toString in class EmbeddedAnnotation


Copyright © 2010. All Rights Reserved.