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

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
getClass, notify, notifyAll, toString, wait, wait, wait
 

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