org.apache.axis2.addressing
Class RelatesTo

java.lang.Object
  extended by org.apache.axis2.addressing.RelatesTo
All Implemented Interfaces:
Serializable

public class RelatesTo
extends Object
implements Serializable

Class RelatesTo

See Also:
Serialized Form

Constructor Summary
RelatesTo(String value)
          Constructor RelatesTo
RelatesTo(String value, String relationshipType)
          Constructor RelatesTo
 
Method Summary
 String getRelationshipType()
          Method getRelationshipType.
 String getValue()
          Method getValue
 void setRelationshipType(String relationshipType)
          Method setRelationshipType
 void setValue(String value)
          Method setValue
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelatesTo

public RelatesTo(String value)
Constructor RelatesTo

Parameters:
value -

RelatesTo

public RelatesTo(String value,
                 String relationshipType)
Constructor RelatesTo

Parameters:
value -
relationshipType -
Method Detail

getRelationshipType

public String getRelationshipType()
Method getRelationshipType. If the relationship type has not been set it returns the default value AddressingConstants.Final.WSA_DEFAULT_RELATIONSHIP_TYPE


getValue

public String getValue()
Method getValue


setRelationshipType

public void setRelationshipType(String relationshipType)
Method setRelationshipType

Parameters:
relationshipType -

setValue

public void setValue(String value)
Method setValue

Parameters:
value -

toString

public String toString()
Overrides:
toString in class Object