Class ComponentClass

  • All Implemented Interfaces:
    HasDescription, java.io.Serializable
    Direct Known Subclasses:
    ComponentContainerClass, TaskClass, VersionableComponentClass, VirtualFolderClass

    public abstract class ComponentClass
    extends IdentifiableElement
    implements java.io.Serializable, HasDescription
    <p>Java class for ComponentClass complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="ComponentClass"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="data" type="{http://flower.com/docs/domain/common}Data"/&gt; &lt;element name="tagCategories" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="tagReferences" type="{http://flower.com/docs/domain/tagclass}TagReference" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/&gt; &lt;element name="descriptions" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="RetentionDuration" type="{http://flower.com/docs/domain/common}DurationType"/&gt; &lt;/sequence&gt; &lt;attribute name="category" use="required" type="{http://flower.com/docs/domain/component}Category" /&gt; &lt;attribute name="active" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt; &lt;attribute name="technical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • data

        protected Data data
        Component class data
      • tagCategories

        protected java.util.List<Id> tagCategories
        Ids of tags used for this class
      • tagReferences

        protected java.util.List<TagReference> tagReferences
        References of tags used for this class
      • displayNames

        protected java.util.List<I18NLabel> displayNames
        Internationalized names of the class
      • descriptions

        protected java.util.List<I18NLabel> descriptions
        Internationalized descriptions of the class
      • retentionDuration

        protected DurationType retentionDuration
      • category

        protected Category category
        Category of the component
      • active

        protected boolean active
        Determines if the class is active or not
      • technical

        protected java.lang.Boolean technical
        Determines if the component class is for a technical usage
    • Constructor Detail

      • ComponentClass

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

        public ComponentClass​(Id id,
                              Data data,
                              java.util.List<Id> tagCategories,
                              java.util.List<TagReference> tagReferences,
                              java.util.List<I18NLabel> displayNames,
                              java.util.List<I18NLabel> descriptions,
                              DurationType retentionDuration,
                              Category category,
                              boolean active,
                              java.lang.Boolean technical)
        Fully-initialising value constructor
    • Method Detail

      • getData

        public Data getData()
        Gets the value of the data property. <p> Component class data
        Returns:
        possible object is Data
      • setData

        public void setData​(Data value)
        Sets the value of the data property.
        Parameters:
        value - allowed object is Data
        See Also:
        getData()
      • getTagCategories

        public java.util.List<Id> getTagCategories()
        Gets the value of the tagCategories property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the tagCategories property. <p> For example, to add a new item, do as follows: <pre> getTagCategories().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Id <p> Ids of tags used for this class
      • getTagReferences

        public java.util.List<TagReference> getTagReferences()
        Gets the value of the tagReferences property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the tagReferences property. <p> For example, to add a new item, do as follows: <pre> getTagReferences().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list TagReference <p> References of tags used for this class
      • getDisplayNames

        public java.util.List<I18NLabel> getDisplayNames()
        Gets the value of the displayNames property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the displayNames property. <p> For example, to add a new item, do as follows: <pre> getDisplayNames().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list I18NLabel <p> Internationalized names of the class
      • getDescriptions

        public java.util.List<I18NLabel> getDescriptions()
        Gets the value of the descriptions property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the descriptions property. <p> For example, to add a new item, do as follows: <pre> getDescriptions().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list I18NLabel <p> Internationalized descriptions of the class
        Specified by:
        getDescriptions in interface HasDescription
        Returns:
        The descriptions as I18NLabel
      • getRetentionDuration

        public DurationType getRetentionDuration()
        Gets the value of the retentionDuration property.
        Returns:
        possible object is DurationType
      • setRetentionDuration

        public void setRetentionDuration​(DurationType value)
        Sets the value of the retentionDuration property.
        Parameters:
        value - allowed object is DurationType
      • getCategory

        public Category getCategory()
        Gets the value of the category property. <p> Category of the 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()
      • isActive

        public boolean isActive()
        Gets the value of the active property. <p> Determines if the class is active or not
      • setActive

        public void setActive​(boolean value)
        Sets the value of the active property.
        See Also:
        isActive()
      • isTechnical

        public boolean isTechnical()
        Gets the value of the technical property. <p> Determines if the component class is for a technical usage
        Returns:
        possible object is Boolean
      • setTechnical

        public void setTechnical​(java.lang.Boolean value)
        Sets the value of the technical property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isTechnical()
      • setTagCategories

        public void setTagCategories​(java.util.List<Id> value)
        See Also:
        getTagCategories()