Class ComponentClass
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.componentclass.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> <complexType name="ComponentClass"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="data" type="{http://flower.com/docs/domain/common}Data"/> <element name="tagCategories" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded" minOccurs="0"/> <element name="tagReferences" type="{http://flower.com/docs/domain/tagclass}TagReference" maxOccurs="unbounded" minOccurs="0"/> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element name="descriptions" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded" minOccurs="0"/> <element name="RetentionDuration" type="{http://flower.com/docs/domain/common}DurationType"/> </sequence> <attribute name="category" use="required" type="{http://flower.com/docs/domain/component}Category" /> <attribute name="active" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="technical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
active
Determines if the class is active or notprotected Category
category
Category of the componentprotected Data
data
Component class dataprotected java.util.List<I18NLabel>
descriptions
Internationalized descriptions of the classprotected java.util.List<I18NLabel>
displayNames
Internationalized names of the classprotected DurationType
retentionDuration
protected java.util.List<Id>
tagCategories
Ids of tags used for this classprotected java.util.List<TagReference>
tagReferences
References of tags used for this classprotected java.lang.Boolean
technical
Determines if the component class is for a technical usage-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description ComponentClass()
Default no-arg constructor abcComponentClass(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category
getCategory()
Gets the value of the category property.Data
getData()
Gets the value of the data property.java.util.List<I18NLabel>
getDescriptions()
Gets the value of the descriptions property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.DurationType
getRetentionDuration()
Gets the value of the retentionDuration property.java.util.List<Id>
getTagCategories()
Gets the value of the tagCategories property.java.util.List<TagReference>
getTagReferences()
Gets the value of the tagReferences property.boolean
isActive()
Gets the value of the active property.boolean
isTechnical()
Gets the value of the technical property.void
setActive(boolean value)
Sets the value of the active property.void
setCategory(Category value)
Sets the value of the category property.void
setData(Data value)
Sets the value of the data property.void
setDescriptions(java.util.List<I18NLabel> value)
Sets the internationalized descriptionsvoid
setDisplayNames(java.util.List<I18NLabel> value)
void
setRetentionDuration(DurationType value)
Sets the value of the retentionDuration property.void
setTagCategories(java.util.List<Id> value)
void
setTagReferences(java.util.List<TagReference> value)
void
setTechnical(java.lang.Boolean value)
Sets the value of the technical property.-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
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.
-
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 listId
<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 listTagReference
<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 listI18NLabel
<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 listI18NLabel
<p> Internationalized descriptions of the class- Specified by:
getDescriptions
in interfaceHasDescription
- 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 isDurationType
-
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 isCategory
- 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 isBoolean
- See Also:
isTechnical()
-
setTagCategories
public void setTagCategories(java.util.List<Id> value)
- See Also:
getTagCategories()
-
setTagReferences
public void setTagReferences(java.util.List<TagReference> value)
- See Also:
getTagReferences()
-
setDisplayNames
public void setDisplayNames(java.util.List<I18NLabel> value)
- See Also:
getDisplayNames()
-
setDescriptions
public void setDescriptions(java.util.List<I18NLabel> value)
Description copied from interface:HasDescription
Sets the internationalized descriptions- Specified by:
setDescriptions
in interfaceHasDescription
- Parameters:
value
- The descriptions asI18NLabel
- See Also:
getDescriptions()
-
-