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

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

public class Metadata
extends Object
implements Serializable, MetadataModelVisitable

See Also:
Serialized Form

Constructor Summary
Metadata()
           
Metadata(com.hp.hpl.jena.rdf.model.Model m, com.hp.hpl.jena.rdf.model.Resource r)
           
Metadata(String metadataKey, org.apache.axis.types.URI metadataType, MetadataValue metadataValue)
           
 
Method Summary
 Object accept(MetadataModelVisitor v)
          Grimoires specific methods and constructors
 boolean equals(Object obj)
           
 String getMetadataKey()
          Gets the metadataKey value for this Metadata.
 org.apache.axis.types.URI getMetadataType()
          Gets the metadataType value for this Metadata.
 MetadataValue getMetadataValue()
          Gets the metadataValue value for this Metadata.
 int hashCode()
           
 void setMetadataKey(String metadataKey)
          Sets the metadataKey value for this Metadata.
 void setMetadataType(org.apache.axis.types.URI metadataType)
          Sets the metadataType value for this Metadata.
 void setMetadataValue(MetadataValue metadataValue)
          Sets the metadataValue value for this Metadata.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Metadata

public Metadata()

Metadata

public Metadata(String metadataKey,
                org.apache.axis.types.URI metadataType,
                MetadataValue metadataValue)

Metadata

public Metadata(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

getMetadataType

public org.apache.axis.types.URI getMetadataType()
Gets the metadataType value for this Metadata.

Returns:
metadataType

setMetadataType

public void setMetadataType(org.apache.axis.types.URI metadataType)
Sets the metadataType value for this Metadata.

Parameters:
metadataType -

getMetadataValue

public MetadataValue getMetadataValue()
Gets the metadataValue value for this Metadata.

Returns:
metadataValue

setMetadataValue

public void setMetadataValue(MetadataValue metadataValue)
Sets the metadataValue value for this Metadata.

Parameters:
metadataValue -

getMetadataKey

public String getMetadataKey()
Gets the metadataKey value for this Metadata.

Returns:
metadataKey

setMetadataKey

public void setMetadataKey(String metadataKey)
Sets the metadataKey value for this Metadata.

Parameters:
metadataKey -

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