cagrid
Class RelationshipPolicy

java.lang.Object
  extended by cagrid.RelationshipPolicy
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
RelationshipDistanceBasedPolicy, RelationshipTypeBasedPolicy

public class RelationshipPolicy
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  ConceptReference sourceConcept
           
private  ConceptReference targetConcept
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
RelationshipPolicy()
           
RelationshipPolicy(ConceptReference sourceConcept, ConceptReference targetConcept)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 ConceptReference getSourceConcept()
          Gets the sourceConcept value for this RelationshipPolicy.
 ConceptReference getTargetConcept()
          Gets the targetConcept value for this RelationshipPolicy.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setSourceConcept(ConceptReference sourceConcept)
          Sets the sourceConcept value for this RelationshipPolicy.
 void setTargetConcept(ConceptReference targetConcept)
          Sets the targetConcept value for this RelationshipPolicy.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

targetConcept

private ConceptReference targetConcept

sourceConcept

private ConceptReference sourceConcept

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static org.apache.axis.description.TypeDesc typeDesc
Constructor Detail

RelationshipPolicy

public RelationshipPolicy()

RelationshipPolicy

public RelationshipPolicy(ConceptReference sourceConcept,
                          ConceptReference targetConcept)
Method Detail

getTargetConcept

public ConceptReference getTargetConcept()
Gets the targetConcept value for this RelationshipPolicy.

Returns:
targetConcept

setTargetConcept

public void setTargetConcept(ConceptReference targetConcept)
Sets the targetConcept value for this RelationshipPolicy.

Parameters:
targetConcept -

getSourceConcept

public ConceptReference getSourceConcept()
Gets the sourceConcept value for this RelationshipPolicy.

Returns:
sourceConcept

setSourceConcept

public void setSourceConcept(ConceptReference sourceConcept)
Sets the sourceConcept value for this RelationshipPolicy.

Parameters:
sourceConcept -

equals

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

hashCode

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

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer