Class AssociationType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable

    @CodingStyleguideUnaware
    public class AssociationType
    extends RegistryObjectType
    Represents an association or relationship between two RegistryObjects. The sourceObject is id of the sourceObject in association The targetObject is id of the targetObject in association

    Java class for AssociationType complex type.

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

    
     <complexType name="AssociationType">
       <complexContent>
         <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}RegistryObjectType">
           <attribute name="type" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
           <attribute name="sourceObject" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
           <attribute name="targetObject" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
         </extension>
       </complexContent>
     </complexType>
     

    This class was annotated by ph-jaxb-plugin -Xph-annotate

    This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode

    This class contains methods created by ph-jaxb-plugin -Xph-tostring

    This class contains methods created by ph-jaxb-plugin -Xph-cloneable2

    This class contains methods created by ph-jaxb-plugin -Xph-value-extender

    See Also:
    Serialized Form
    • Constructor Detail

      • AssociationType

        public AssociationType()
        Default constructor
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
    • Method Detail

      • getType

        @Nullable
        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(@Nullable
                            String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • getSourceObject

        @Nullable
        public String getSourceObject()
        Gets the value of the sourceObject property.
        Returns:
        possible object is String
      • setSourceObject

        public void setSourceObject​(@Nullable
                                    String value)
        Sets the value of the sourceObject property.
        Parameters:
        value - allowed object is String
      • getTargetObject

        @Nullable
        public String getTargetObject()
        Gets the value of the targetObject property.
        Returns:
        possible object is String
      • setTargetObject

        public void setTargetObject​(@Nullable
                                    String value)
        Sets the value of the targetObject property.
        Parameters:
        value - allowed object is String
      • hashCode

        public int hashCode()
        Created by ph-jaxb-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class RegistryObjectType
      • cloneTo

        public void cloneTo​(@Nonnull
                            AssociationType ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public AssociationType clone()
        Created by ph-jaxb-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class RegistryObjectType
        Returns:
        The cloned object. Never null.