Package com.flower.docs.domain.component
Class ComponentReference
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.component.ComponentReference
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AttachmentDefinition
public class ComponentReference extends IdentifiableElement implements java.io.Serializable
Reference for a component based on its unique identifier and its category <p>Java class for ComponentReference complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="ComponentReference"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <attribute name="category" type="{http://flower.com/docs/domain/component}Category" /> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Category
category
Category of referenced component-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description ComponentReference()
Default no-arg constructor abcComponentReference(Id id, Category category)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Category
getCategory()
Gets the value of the category property.int
hashCode()
void
setCategory(Category value)
Sets the value of the category property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
category
protected Category category
Category of referenced component
-
-
Method Detail
-
getCategory
public Category getCategory()
Gets the value of the category property. <p> Category of referenced 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()
-
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
-
-