Class TagCategory
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.componentclass.TagCategory
-
- All Implemented Interfaces:
java.io.Serializable
public class TagCategory extends IdentifiableElement implements java.io.Serializable
<p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element name="tags" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded"/> </sequence> <attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="inline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="reduced" 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 java.lang.String
description
Description corresponding to the tagprotected java.util.List<I18NLabel>
displayNames
Internationalized names of the tagprotected java.lang.String
icon
Icon corresponding to the tagprotected java.lang.Boolean
inline
Determines if the tag's references should be displayed as inlineprotected java.lang.Boolean
reduced
Determines if the tag is currently reduced or notprotected java.util.List<Id>
tags
The list of the tags for this categoryprotected java.lang.Boolean
visible
Determines if the tag is visible or not-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description TagCategory()
Default no-arg constructor abcTagCategory(Id id, java.util.List<I18NLabel> displayNames, java.util.List<Id> tags, java.lang.String icon, java.lang.String description, java.lang.Boolean visible, java.lang.Boolean inline, java.lang.Boolean reduced)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getDescription()
Gets the value of the description property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.java.lang.String
getIcon()
Gets the value of the icon property.java.util.List<Id>
getTags()
Gets the value of the tags property.int
hashCode()
boolean
isInline()
Gets the value of the inline property.boolean
isReduced()
Gets the value of the reduced property.boolean
isVisible()
Gets the value of the visible property.void
setDescription(java.lang.String value)
Sets the value of the description property.void
setDisplayNames(java.util.List<I18NLabel> value)
void
setIcon(java.lang.String value)
Sets the value of the icon property.void
setInline(java.lang.Boolean value)
Sets the value of the inline property.void
setReduced(java.lang.Boolean value)
Sets the value of the reduced property.void
setTags(java.util.List<Id> value)
void
setVisible(java.lang.Boolean value)
Sets the value of the visible property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
displayNames
protected java.util.List<I18NLabel> displayNames
Internationalized names of the tag
-
tags
protected java.util.List<Id> tags
The list of the tags for this category
-
icon
protected java.lang.String icon
Icon corresponding to the tag
-
description
protected java.lang.String description
Description corresponding to the tag
-
visible
protected java.lang.Boolean visible
Determines if the tag is visible or not
-
inline
protected java.lang.Boolean inline
Determines if the tag's references should be displayed as inline
-
reduced
protected java.lang.Boolean reduced
Determines if the tag is currently reduced or not
-
-
Method Detail
-
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 tag
-
getTags
public java.util.List<Id> getTags()
Gets the value of the tags 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 tags property. <p> For example, to add a new item, do as follows: <pre> getTags().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listId
<p> The list of the tags for this category
-
getIcon
public java.lang.String getIcon()
Gets the value of the icon property. <p> Icon corresponding to the tag- Returns:
- possible object is
String
-
setIcon
public void setIcon(java.lang.String value)
Sets the value of the icon property.- Parameters:
value
- allowed object isString
- See Also:
getIcon()
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property. <p> Description corresponding to the tag- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
- See Also:
getDescription()
-
isVisible
public boolean isVisible()
Gets the value of the visible property. <p> Determines if the tag is visible or not- Returns:
- possible object is
Boolean
-
setVisible
public void setVisible(java.lang.Boolean value)
Sets the value of the visible property.- Parameters:
value
- allowed object isBoolean
- See Also:
isVisible()
-
isInline
public boolean isInline()
Gets the value of the inline property. <p> Determines if the tag's references should be displayed as inline- Returns:
- possible object is
Boolean
-
setInline
public void setInline(java.lang.Boolean value)
Sets the value of the inline property.- Parameters:
value
- allowed object isBoolean
- See Also:
isInline()
-
isReduced
public boolean isReduced()
Gets the value of the reduced property. <p> Determines if the tag is currently reduced or not- Returns:
- possible object is
Boolean
-
setReduced
public void setReduced(java.lang.Boolean value)
Sets the value of the reduced property.- Parameters:
value
- allowed object isBoolean
- See Also:
isReduced()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
setDisplayNames
public void setDisplayNames(java.util.List<I18NLabel> value)
- See Also:
getDisplayNames()
-
-