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

java.lang.Object
  extended byuk.ac.soton.ecs.grimoires.server.impl.metadata.datamodel.EntityReference
All Implemented Interfaces:
MetadataModelVisitable, Serializable
Direct Known Subclasses:
MetadataReference, UddiReference

public class EntityReference
extends Object
implements Serializable, MetadataModelVisitable

See Also:
Serialized Form

Constructor Summary
EntityReference()
           
EntityReference(com.hp.hpl.jena.rdf.model.Model m, com.hp.hpl.jena.rdf.model.Resource r)
           
EntityReference(org.apache.axis.types.URI entityType, MessagePartReference messagePartReference, String metadataKey, OperationReference operationReference, String stringKey)
           
 
Method Summary
 Object accept(MetadataModelVisitor v)
          Grimoires specific methods and constructors
 boolean equals(Object obj)
           
 org.apache.axis.types.URI getEntityType()
          Gets the entityType value for this EntityReference.
 MessagePartReference getMessagePartReference()
          Gets the messagePartReference value for this EntityReference.
 String getMetadataKey()
          Gets the metadataKey value for this EntityReference.
 OperationReference getOperationReference()
          Gets the operationReference value for this EntityReference.
 String getStringKey()
          Gets the stringKey value for this EntityReference.
 int hashCode()
           
 void setEntityType(org.apache.axis.types.URI entityType)
          Sets the entityType value for this EntityReference.
 void setMessagePartReference(MessagePartReference messagePartReference)
          Sets the messagePartReference value for this EntityReference.
 void setMetadataKey(String metadataKey)
          Sets the metadataKey value for this EntityReference.
 void setOperationReference(OperationReference operationReference)
          Sets the operationReference value for this EntityReference.
 void setStringKey(String stringKey)
          Sets the stringKey value for this EntityReference.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityReference

public EntityReference()

EntityReference

public EntityReference(org.apache.axis.types.URI entityType,
                       MessagePartReference messagePartReference,
                       String metadataKey,
                       OperationReference operationReference,
                       String stringKey)

EntityReference

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

getStringKey

public String getStringKey()
Gets the stringKey value for this EntityReference.

Returns:
stringKey

setStringKey

public void setStringKey(String stringKey)
Sets the stringKey value for this EntityReference.

Parameters:
stringKey -

getMetadataKey

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

Returns:
metadataKey

setMetadataKey

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

Parameters:
metadataKey -

getMessagePartReference

public MessagePartReference getMessagePartReference()
Gets the messagePartReference value for this EntityReference.

Returns:
messagePartReference

setMessagePartReference

public void setMessagePartReference(MessagePartReference messagePartReference)
Sets the messagePartReference value for this EntityReference.

Parameters:
messagePartReference -

getOperationReference

public OperationReference getOperationReference()
Gets the operationReference value for this EntityReference.

Returns:
operationReference

setOperationReference

public void setOperationReference(OperationReference operationReference)
Sets the operationReference value for this EntityReference.

Parameters:
operationReference -

getEntityType

public org.apache.axis.types.URI getEntityType()
Gets the entityType value for this EntityReference.

Returns:
entityType

setEntityType

public void setEntityType(org.apache.axis.types.URI entityType)
Sets the entityType value for this EntityReference.

Parameters:
entityType -

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