Class CommentType

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

    @CodingStyleguideUnaware
    public class CommentType
    extends ExtrinsicObjectType
    Models the familiar “PostIt attached to papers” metaphor. Used to attach comments to Register during registration procedures, may be used to comment on any RegistryObject. Implemented as a sub-type of ExtrinsicObjectType. If comment is small it is specified in description field. If comment is large or needs formatting, images etc. then it is specified in the RepositoryItem as a document. Adding a comment to a RegistryObject done by defining a “HasComment” Association with an ExtrinsicObject with objectType “Comment”.

    Java class for CommentType complex type.

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

    
     <complexType name="CommentType">
       <complexContent>
         <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ExtrinsicObjectType">
         </extension>
       </complexContent>
     </complexType>
     

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

    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

      • CommentType

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

      • cloneTo

        public void cloneTo​(@Nonnull
                            CommentType 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 CommentType clone()
        Created by ph-jaxb-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class ExtrinsicObjectType
        Returns:
        The cloned object. Never null.