Package com.flower.docs.domain.taskclass
Class AttachmentDefinition
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.component.ComponentReference
-
- com.flower.docs.domain.taskclass.AttachmentDefinition
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Attachment
public class AttachmentDefinition extends ComponentReference implements java.io.Serializable
Definition of an expected task attachment <p>Java class for AttachmentDefinition complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="AttachmentDefinition"> <complexContent> <extension base="{http://flower.com/docs/domain/component}ComponentReference"> <sequence> <element name="classId" type="{http://flower.com/docs/domain/common}Id"/> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element ref="{http://flower.com/docs/domain/component}Tags" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="synopsis" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="multivalued" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="readonly" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="required" type="{http://flower.com/docs/domain/taskclass}Required" /> <attribute name="technical" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Id
classId
The component class identifier of the expected attachmentprotected java.lang.String
description
A generic description of the attachmentprotected java.util.List<I18NLabel>
displayNames
protected java.lang.Boolean
multivalued
Determines if the referenced attachment is multivalued or monovaluedprotected int
order
The display order of the attachmentprotected java.lang.Boolean
readonly
Determines if the attachment is readonly or notprotected Required
required
Determines if the attachment is mandatory or notprotected java.util.List<I18NLabel>
synopsis
protected Tags
tags
protected java.lang.Boolean
technical
Determines if the attachment is technical.-
Fields inherited from class com.flower.docs.domain.component.ComponentReference
category
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description AttachmentDefinition()
Default no-arg constructor abcAttachmentDefinition(Id id, Category category, Id classId, java.util.List<I18NLabel> displayNames, Tags tags, java.lang.String description, java.util.List<I18NLabel> synopsis, java.lang.Boolean multivalued, java.lang.Boolean readonly, Required required, java.lang.Boolean technical, int order)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Id
getClassId()
Gets the value of the classId property.java.lang.String
getDescription()
Gets the value of the description property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.int
getOrder()
Gets the value of the order property.Required
getRequired()
Gets the value of the required property.java.util.List<I18NLabel>
getSynopsis()
Gets the value of the synopsis property.Tags
getTags()
Expected tags of task attachmentint
hashCode()
java.lang.Boolean
isMultivalued()
Gets the value of the multivalued property.java.lang.Boolean
isReadonly()
Gets the value of the readonly property.java.lang.Boolean
isTechnical()
Gets the value of the technical property.void
setClassId(Id value)
Sets the value of the classId property.void
setDescription(java.lang.String value)
Sets the value of the description property.void
setDisplayNames(java.util.List<I18NLabel> value)
void
setMultivalued(java.lang.Boolean value)
Sets the value of the multivalued property.void
setOrder(int value)
Sets the value of the order property.void
setReadonly(java.lang.Boolean value)
Sets the value of the readonly property.void
setRequired(Required value)
Sets the value of the required property.void
setSynopsis(java.util.List<I18NLabel> value)
void
setTags(Tags value)
Sets the value of the tags property.void
setTechnical(java.lang.Boolean value)
Sets the value of the technical property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.component.ComponentReference
getCategory, setCategory
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
classId
protected Id classId
The component class identifier of the expected attachment
-
displayNames
protected java.util.List<I18NLabel> displayNames
-
tags
protected Tags tags
-
description
protected java.lang.String description
A generic description of the attachment
-
synopsis
protected java.util.List<I18NLabel> synopsis
-
multivalued
protected java.lang.Boolean multivalued
Determines if the referenced attachment is multivalued or monovalued
-
readonly
protected java.lang.Boolean readonly
Determines if the attachment is readonly or not
-
required
protected Required required
Determines if the attachment is mandatory or not
-
technical
protected java.lang.Boolean technical
Determines if the attachment is technical. Technical attachments should not be displayed to users
-
order
protected int order
The display order of the attachment
-
-
Constructor Detail
-
AttachmentDefinition
public AttachmentDefinition()
Default no-arg constructor abc
-
AttachmentDefinition
public AttachmentDefinition(Id id, Category category, Id classId, java.util.List<I18NLabel> displayNames, Tags tags, java.lang.String description, java.util.List<I18NLabel> synopsis, java.lang.Boolean multivalued, java.lang.Boolean readonly, Required required, java.lang.Boolean technical, int order)
Fully-initialising value constructor
-
-
Method Detail
-
getClassId
public Id getClassId()
Gets the value of the classId property. <p> The component class identifier of the expected attachment- Returns:
- possible object is
Id
-
setClassId
public void setClassId(Id value)
Sets the value of the classId property.- Parameters:
value
- allowed object isId
- See Also:
getClassId()
-
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
-
setTags
public void setTags(Tags value)
Sets the value of the tags property.- Parameters:
value
- allowed object isTags
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property. <p> A generic description of the attachment- 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()
-
getSynopsis
public java.util.List<I18NLabel> getSynopsis()
Gets the value of the synopsis 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 synopsis property. <p> For example, to add a new item, do as follows: <pre> getSynopsis().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listI18NLabel
-
isMultivalued
public java.lang.Boolean isMultivalued()
Gets the value of the multivalued property. <p> Determines if the referenced attachment is multivalued or monovalued- Returns:
- possible object is
Boolean
-
setMultivalued
public void setMultivalued(java.lang.Boolean value)
Sets the value of the multivalued property.- Parameters:
value
- allowed object isBoolean
- See Also:
isMultivalued()
-
isReadonly
public java.lang.Boolean isReadonly()
Gets the value of the readonly property. <p> Determines if the attachment is readonly or not- Returns:
- possible object is
Boolean
-
setReadonly
public void setReadonly(java.lang.Boolean value)
Sets the value of the readonly property.- Parameters:
value
- allowed object isBoolean
- See Also:
isReadonly()
-
getRequired
public Required getRequired()
Gets the value of the required property. <p> Determines if the attachment is mandatory or not- Returns:
- possible object is
Required
-
setRequired
public void setRequired(Required value)
Sets the value of the required property.- Parameters:
value
- allowed object isRequired
- See Also:
getRequired()
-
isTechnical
public java.lang.Boolean isTechnical()
Gets the value of the technical property. <p> Determines if the attachment is technical. Technical attachments should not be displayed to users- 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()
-
getOrder
public int getOrder()
Gets the value of the order property. <p> The display order of the attachment
-
setOrder
public void setOrder(int value)
Sets the value of the order property.- See Also:
getOrder()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classComponentReference
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classComponentReference
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classComponentReference
-
setDisplayNames
public void setDisplayNames(java.util.List<I18NLabel> value)
-
setSynopsis
public void setSynopsis(java.util.List<I18NLabel> value)
-
-