com.rapidtransform.core.model.namespace
Class NamespaceRelation

java.lang.Object
  extended by com.rapidtransform.core.model.namespace.NamespaceRelation

public class NamespaceRelation
extends java.lang.Object

The NamespaceRelation class specifies a source and target namespace that participate in a relation.

Author:
Steve Werner

Constructor Summary
NamespaceRelation()
           
NamespaceRelation(Namespace source, Namespace target)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 Namespace getSource()
           
 Namespace getTarget()
           
 int hashCode()
           
 void setSource(Namespace source)
           
 void setTarget(Namespace target)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceRelation

public NamespaceRelation()

NamespaceRelation

public NamespaceRelation(Namespace source,
                         Namespace target)
Method Detail

getSource

public Namespace getSource()
Returns:
Returns the source.

setSource

public void setSource(Namespace source)
Parameters:
source - The source to set.

getTarget

public Namespace getTarget()
Returns:
Returns the target.

setTarget

public void setTarget(Namespace target)
Parameters:
target - The target to set.

equals

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

hashCode

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