Package com.flower.docs.domain.tagclass
Class TagClass
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.tagclass.TagClass
-
- All Implemented Interfaces:
java.io.Serializable
public class TagClass 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="data" type="{http://flower.com/docs/domain/common}Data"/> <element name="type" type="{http://flower.com/docs/domain/tagclass}TagValueType"/> <element name="allowedValues" type="{http://flower.com/docs/domain/tagclass}AllowedValue" maxOccurs="unbounded" minOccurs="0"/> <element name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element name="searchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AllowedValue>
allowedValues
protected Data
data
System data of the tag classprotected java.util.List<I18NLabel>
displayNames
Internationalized names of the tagprotected java.lang.String
pattern
The regular expression used to validate tag valuesprotected boolean
searchable
Define if the tag is searchable or notprotected TagValueType
type
The value type of the tag-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description TagClass()
Default no-arg constructor abcTagClass(Id id, Data data, TagValueType type, java.util.List<AllowedValue> allowedValues, java.lang.String pattern, java.util.List<I18NLabel> displayNames, boolean searchable)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.List<AllowedValue>
getAllowedValues()
Gets the value of the allowedValues property.Data
getData()
Gets the value of the data property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.java.lang.String
getPattern()
Gets the value of the pattern property.TagValueType
getType()
Gets the value of the type property.int
hashCode()
boolean
isSearchable()
Gets the value of the searchable property.void
setAllowedValues(java.util.List<AllowedValue> value)
void
setData(Data value)
Sets the value of the data property.void
setDisplayNames(java.util.List<I18NLabel> value)
void
setPattern(java.lang.String value)
Sets the value of the pattern property.void
setSearchable(boolean value)
Sets the value of the searchable property.void
setType(TagValueType value)
Sets the value of the type property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
data
protected Data data
System data of the tag class
-
type
protected TagValueType type
The value type of the tag
-
allowedValues
protected java.util.List<AllowedValue> allowedValues
-
pattern
protected java.lang.String pattern
The regular expression used to validate tag values
-
displayNames
protected java.util.List<I18NLabel> displayNames
Internationalized names of the tag
-
searchable
protected boolean searchable
Define if the tag is searchable or not
-
-
Constructor Detail
-
TagClass
public TagClass()
Default no-arg constructor abc
-
TagClass
public TagClass(Id id, Data data, TagValueType type, java.util.List<AllowedValue> allowedValues, java.lang.String pattern, java.util.List<I18NLabel> displayNames, boolean searchable)
Fully-initialising value constructor
-
-
Method Detail
-
getData
public Data getData()
Gets the value of the data property. <p> System data of the tag class- Returns:
- possible object is
Data
-
setData
public void setData(Data value)
Sets the value of the data property.
-
getType
public TagValueType getType()
Gets the value of the type property. <p> The value type of the tag- Returns:
- possible object is
TagValueType
-
setType
public void setType(TagValueType value)
Sets the value of the type property.- Parameters:
value
- allowed object isTagValueType
- See Also:
getType()
-
getAllowedValues
public java.util.List<AllowedValue> getAllowedValues()
Gets the value of the allowedValues 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 allowedValues property. <p> For example, to add a new item, do as follows: <pre> getAllowedValues().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listAllowedValue
-
getPattern
public java.lang.String getPattern()
Gets the value of the pattern property. <p> The regular expression used to validate tag values- Returns:
- possible object is
String
-
setPattern
public void setPattern(java.lang.String value)
Sets the value of the pattern property.- Parameters:
value
- allowed object isString
- See Also:
getPattern()
-
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
-
isSearchable
public boolean isSearchable()
Gets the value of the searchable property. <p> Define if the tag is searchable or not
-
setSearchable
public void setSearchable(boolean value)
Sets the value of the searchable property.- See Also:
isSearchable()
-
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
-
setAllowedValues
public void setAllowedValues(java.util.List<AllowedValue> value)
-
setDisplayNames
public void setDisplayNames(java.util.List<I18NLabel> value)
- See Also:
getDisplayNames()
-
-