Class ComponentReference

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AttachmentDefinition

    public class ComponentReference
    extends IdentifiableElement
    implements java.io.Serializable
    Reference for a component based on its unique identifier and its category <p>Java class for ComponentReference complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="ComponentReference"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;attribute name="category" type="{http://flower.com/docs/domain/component}Category" /&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • category

        protected Category category
        Category of referenced component
    • Constructor Detail

      • ComponentReference

        public ComponentReference()
        Default no-arg constructor abc
      • ComponentReference

        public ComponentReference​(Id id,
                                  Category category)
        Fully-initialising value constructor
    • Method Detail

      • getCategory

        public Category getCategory()
        Gets the value of the category property. <p> Category of referenced component
        Returns:
        possible object is Category
      • setCategory

        public void setCategory​(Category value)
        Sets the value of the category property.
        Parameters:
        value - allowed object is Category
        See Also:
        getCategory()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object