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

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

public class MetadataInfo
extends Object
implements Serializable, MetadataModelVisitable

See Also:
Serialized Form

Constructor Summary
MetadataInfo()
           
MetadataInfo(com.hp.hpl.jena.rdf.model.Model m, com.hp.hpl.jena.rdf.model.Resource r)
           
MetadataInfo(String author, String date, 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 getAuthor()
          Gets the author value for this MetadataInfo.
 String getDate()
          Gets the date value for this MetadataInfo.
 String getMetadataKey()
          Gets the metadataKey value for this MetadataInfo.
 org.apache.axis.types.URI getMetadataType()
          Gets the metadataType value for this MetadataInfo.
 MetadataValue getMetadataValue()
          Gets the metadataValue value for this MetadataInfo.
 int hashCode()
           
 void setAuthor(String author)
          Sets the author value for this MetadataInfo.
 void setDate(String date)
          Sets the date value for this MetadataInfo.
 void setMetadataKey(String metadataKey)
          Sets the metadataKey value for this MetadataInfo.
 void setMetadataType(org.apache.axis.types.URI metadataType)
          Sets the metadataType value for this MetadataInfo.
 void setMetadataValue(MetadataValue metadataValue)
          Sets the metadataValue value for this MetadataInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataInfo

public MetadataInfo()

MetadataInfo

public MetadataInfo(String author,
                    String date,
                    String metadataKey,
                    org.apache.axis.types.URI metadataType,
                    MetadataValue metadataValue)

MetadataInfo

public MetadataInfo(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 MetadataInfo.

Returns:
metadataType

setMetadataType

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

Parameters:
metadataType -

getMetadataValue

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

Returns:
metadataValue

setMetadataValue

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

Parameters:
metadataValue -

getAuthor

public String getAuthor()
Gets the author value for this MetadataInfo.

Returns:
author

setAuthor

public void setAuthor(String author)
Sets the author value for this MetadataInfo.

Parameters:
author -

getDate

public String getDate()
Gets the date value for this MetadataInfo.

Returns:
date

setDate

public void setDate(String date)
Sets the date value for this MetadataInfo.

Parameters:
date -

getMetadataKey

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

Returns:
metadataKey

setMetadataKey

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

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