cagrid
Class RelationshipDistanceBasedPolicy

java.lang.Object
  extended by cagrid.RelationshipPolicy
      extended by cagrid.RelationshipDistanceBasedPolicy
All Implemented Interfaces:
java.io.Serializable

public class RelationshipDistanceBasedPolicy
extends RelationshipPolicy
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  int distance
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Constructor Summary
RelationshipDistanceBasedPolicy()
           
RelationshipDistanceBasedPolicy(int distance)
           
 
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
 int getDistance()
          Gets the distance value for this RelationshipDistanceBasedPolicy.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDistance(int distance)
          Sets the distance value for this RelationshipDistanceBasedPolicy.
 
Methods inherited from class cagrid.RelationshipPolicy
getSourceConcept, getTargetConcept, setSourceConcept, setTargetConcept
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distance

private int distance

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

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

RelationshipDistanceBasedPolicy

public RelationshipDistanceBasedPolicy()

RelationshipDistanceBasedPolicy

public RelationshipDistanceBasedPolicy(int distance)
Method Detail

getDistance

public int getDistance()
Gets the distance value for this RelationshipDistanceBasedPolicy.

Returns:
distance

setDistance

public void setDistance(int distance)
Sets the distance value for this RelationshipDistanceBasedPolicy.

Parameters:
distance -

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class RelationshipPolicy

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