Class RelatesToType

java.lang.Object
org.somda.sdc.dpws.soap.wsaddressing.model.RelatesToType
All Implemented Interfaces:
Copyable, PartialCopyable, Cloneable, org.jvnet.jaxb2_commons.lang.ToString2

public class RelatesToType extends Object implements Cloneable, Copyable, PartialCopyable, org.jvnet.jaxb2_commons.lang.ToString2

Java class for RelatesToType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="RelatesToType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>anyURI">
       <attribute name="RelationshipType" type="{http://www.w3.org/2005/08/addressing}RelationshipTypeOpenEnum" default="http://www.w3.org/2005/08/addressing/reply" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

    • value

      protected String value
    • relationshipType

      protected String relationshipType
  • Constructor Details

    • RelatesToType

      public RelatesToType()
      Generated by copy-constructor plugin, JAXB requires public no-arg constructor.
    • RelatesToType

      public RelatesToType(RelatesToType _other)
      Instantiates a RelatesToType copying the state of another RelatesToType
      Parameters:
      _other - The original RelatesToType from which to copy state.
    • RelatesToType

      public RelatesToType(RelatesToType _other, PropertyTree _propertyTree, PropertyTreeUse _propertyTreeUse)
      Instantiates a RelatesToType copying the state of another RelatesToType
      Parameters:
      _propertyTreeUse - Meaning of the PropertyPath: Exclude or include members contained in property path.
      _propertyTree - A restricting PropertyPath that defines which nodes of the source object tree should actually be copied.
      _other - The original RelatesToType from which to copy state.
  • Method Details

    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getRelationshipType

      public String getRelationshipType()
      Gets the value of the relationshipType property.
      Returns:
      possible object is String
    • setRelationshipType

      public void setRelationshipType(String value)
      Sets the value of the relationshipType property.
      Parameters:
      value - allowed object is String
    • getOtherAttributes

      public Map<QName,String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.

      the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

      Returns:
      always non-null
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
    • clone

      public RelatesToType clone()
      Overrides:
      clone in class Object
    • createCopy

      public RelatesToType createCopy()
      Specified by:
      createCopy in interface Copyable
    • createCopy

      public RelatesToType createCopy(PropertyTree _propertyTree, PropertyTreeUse _propertyTreeUse)
      Description copied from interface: PartialCopyable
      Clones this instances partially, the parts will be defined by propertyTree
      Specified by:
      createCopy in interface PartialCopyable
      Parameters:
      _propertyTree - Defines which parts of the object tree will be cloned or excluded
      _propertyTreeUse - Defines how the clone graph will be used: To include or to exclude properties.
      Returns:
      A copy of the original object.
    • copyExcept

      public RelatesToType copyExcept(PropertyTree _propertyTree)
      Description copied from interface: PartialCopyable
      Clones this instances partially, the parts to be EXCLUDED will be defined by propertyTree
      Specified by:
      copyExcept in interface PartialCopyable
      Parameters:
      _propertyTree - Defines which parts of the object tree will be excluded
      Returns:
      A copy of the original object.
    • copyOnly

      public RelatesToType copyOnly(PropertyTree _propertyTree)
      Description copied from interface: PartialCopyable
      Clones this instances partially, the parts to be INCLUDED will be defined by propertyTree, all other parts will be excluded.
      Specified by:
      copyOnly in interface PartialCopyable
      Parameters:
      _propertyTree - Defines which parts of the object tree will be included in the clone
      Returns:
      A copy of the original object.