edu.uga.cs.lsdis.sawsdl.impl
Class ModelReferenceImpl

java.lang.Object
  extended by edu.uga.cs.lsdis.sawsdl.impl.ModelReferenceImpl
All Implemented Interfaces:
ModelReference

public class ModelReferenceImpl
extends java.lang.Object
implements ModelReference

This class represents a ModelReference.

Author:
: Ajith Ranabahu, : Zixin Wu, : Karthik Gomadam, : Doug Brewer

Field Summary
protected  java.lang.Object parent
          The parent object
protected  java.net.URI uri
          The URI of the ontology used in the model reference
 
Constructor Summary
ModelReferenceImpl()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getParent()
          Get the parent object for this model reference
 java.net.URI getURI()
          Get the model reference URI
 int hashCode()
           
 void setParent(java.lang.Object parent)
          Set the parent for this model reference
 void setURI(java.net.URI uri)
          set the model reference URI
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

uri

protected java.net.URI uri
The URI of the ontology used in the model reference


parent

protected java.lang.Object parent
The parent object

Constructor Detail

ModelReferenceImpl

public ModelReferenceImpl()
Method Detail

getURI

public java.net.URI getURI()
Get the model reference URI

Specified by:
getURI in interface ModelReference
Returns:
the URI object

setURI

public void setURI(java.net.URI uri)
set the model reference URI

Specified by:
setURI in interface ModelReference
Parameters:
uri - - The URI to be set to this model reference

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getParent

public java.lang.Object getParent()
Get the parent object for this model reference

Specified by:
getParent in interface ModelReference
Returns:
the parent object

setParent

public void setParent(java.lang.Object parent)
Set the parent for this model reference

Specified by:
setParent in interface ModelReference
Parameters:
parent - the parent object for this model reference

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2007. All Rights Reserved.