Package com.flower.docs.domain.component
Class Component
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.component.Component
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class Component extends IdentifiableElement implements java.io.Serializable
Flower component <p>Java class for Component complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="Component"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="data" type="{http://flower.com/docs/domain/component}ComponentData"/> <element ref="{http://flower.com/docs/domain/component}Tags"/> </sequence> <attribute name="category" use="required" type="{http://flower.com/docs/domain/component}Category" /> <attribute name="name" type="{http://flower.com/docs/domain/common}NameType" /> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Category
category
Category of the componentprotected ComponentData
data
Component dataprotected java.lang.String
name
Name of the componentprotected Tags
tags
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category
getCategory()
Gets the value of the category property.ComponentData
getData()
Gets the value of the data property.java.lang.String
getName()
Gets the value of the name property.Tags
getTags()
List of tagsvoid
setCategory(Category value)
Sets the value of the category property.void
setData(ComponentData value)
Sets the value of the data property.void
setName(java.lang.String value)
Sets the value of the name property.void
setTags(Tags value)
Sets the value of the tags property.-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
data
protected ComponentData data
Component data
-
tags
protected Tags tags
-
category
protected Category category
Category of the component
-
name
protected java.lang.String name
Name of the component
-
-
Constructor Detail
-
Component
public Component()
Default no-arg constructor abc
-
Component
public Component(Id id, ComponentData data, Tags tags, Category category, java.lang.String name)
Fully-initialising value constructor
-
-
Method Detail
-
getData
public ComponentData getData()
Gets the value of the data property. <p> Component data- Returns:
- possible object is
ComponentData
-
setData
public void setData(ComponentData value)
Sets the value of the data property.- Parameters:
value
- allowed object isComponentData
- See Also:
getData()
-
setTags
public void setTags(Tags value)
Sets the value of the tags property.- Parameters:
value
- allowed object isTags
-
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()
-
getName
public java.lang.String getName()
Gets the value of the name property. <p> Name of the component- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
- See Also:
getName()
-
-