uk.ac.soton.ecs.grimoires.server.impl.metadata.datamodel
Class MetadataValue

java.lang.Object
  extended byuk.ac.soton.ecs.grimoires.server.impl.metadata.datamodel.MetadataValue
All Implemented Interfaces:
MetadataModelVisitable, Serializable

public class MetadataValue
extends Object
implements Serializable, MetadataModelVisitable

See Also:
Serialized Form

Constructor Summary
MetadataValue()
           
MetadataValue(com.hp.hpl.jena.rdf.model.Model m, com.hp.hpl.jena.rdf.model.Resource r)
           
MetadataValue(String stringValue, TriplesAssertion triplesAssertion, org.apache.axis.types.URI uriValue)
           
 
Method Summary
 Object accept(MetadataModelVisitor v)
          Grimoires specific methods and constructors
 boolean equals(Object obj)
           
 String getStringValue()
          Gets the stringValue value for this MetadataValue.
 TriplesAssertion getTriplesAssertion()
          Gets the triplesAssertion value for this MetadataValue.
 org.apache.axis.types.URI getUriValue()
          Gets the uriValue value for this MetadataValue.
 int hashCode()
           
 void setStringValue(String stringValue)
          Sets the stringValue value for this MetadataValue.
 void setTriplesAssertion(TriplesAssertion triplesAssertion)
          Sets the triplesAssertion value for this MetadataValue.
 void setUriValue(org.apache.axis.types.URI uriValue)
          Sets the uriValue value for this MetadataValue.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataValue

public MetadataValue()

MetadataValue

public MetadataValue(String stringValue,
                     TriplesAssertion triplesAssertion,
                     org.apache.axis.types.URI uriValue)

MetadataValue

public MetadataValue(com.hp.hpl.jena.rdf.model.Model m,
                     com.hp.hpl.jena.rdf.model.Resource r)
              throws com.hp.hpl.jena.rdf.model.RDFException,
                     StoreException
Method Detail

getTriplesAssertion

public TriplesAssertion getTriplesAssertion()
Gets the triplesAssertion value for this MetadataValue.

Returns:
triplesAssertion

setTriplesAssertion

public void setTriplesAssertion(TriplesAssertion triplesAssertion)
Sets the triplesAssertion value for this MetadataValue.

Parameters:
triplesAssertion -

getStringValue

public String getStringValue()
Gets the stringValue value for this MetadataValue.

Returns:
stringValue

setStringValue

public void setStringValue(String stringValue)
Sets the stringValue value for this MetadataValue.

Parameters:
stringValue -

getUriValue

public org.apache.axis.types.URI getUriValue()
Gets the uriValue value for this MetadataValue.

Returns:
uriValue

setUriValue

public void setUriValue(org.apache.axis.types.URI uriValue)
Sets the uriValue value for this MetadataValue.

Parameters:
uriValue -

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

accept

public Object accept(MetadataModelVisitor v)
Grimoires specific methods and constructors

Specified by:
accept in interface MetadataModelVisitable