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

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

public class MetadataQuery
extends Object
implements Serializable, MetadataModelVisitable

See Also:
Serialized Form

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

Constructor Detail

MetadataQuery

public MetadataQuery()

MetadataQuery

public MetadataQuery(String author,
                     String date,
                     FindQualifiers findQualifiers,
                     org.apache.axis.types.URI metadataType,
                     MetadataValue metadataValue)

MetadataQuery

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

getFindQualifiers

public FindQualifiers getFindQualifiers()
Gets the findQualifiers value for this MetadataQuery.

Returns:
findQualifiers

setFindQualifiers

public void setFindQualifiers(FindQualifiers findQualifiers)
Sets the findQualifiers value for this MetadataQuery.

Parameters:
findQualifiers -

getMetadataType

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

Returns:
metadataType

setMetadataType

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

Parameters:
metadataType -

getMetadataValue

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

Returns:
metadataValue

setMetadataValue

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

Parameters:
metadataValue -

getAuthor

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

Returns:
author

setAuthor

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

Parameters:
author -

getDate

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

Returns:
date

setDate

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

Parameters:
date -

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