Class BookParentChildNode
- java.lang.Object
-
- com.activeviam.risk.ref.parentchild.nodes.ParentChildNode<BookParentChildNode>
-
- com.activeviam.risk.ref.parentchild.nodes.BookParentChildNode
-
- All Implemented Interfaces:
Serializable
public class BookParentChildNode extends ParentChildNode<BookParentChildNode>
The BookParentChildNode is an instance ofParentChildNode
which provides a business model for use throughout the parent child service. It contains all the data for a book node that corresponds to the columns of a the book hierarchy data store. Columns in the book node datastore that are strings, but are better represented as boolean in a Java object, are represented as boolean in this data model. This data model, extending from the ParentChildNode class, allows the book nodes to be structured as a tree. This class along with ParentChildNode is intended to be a POJO. No annotations are added to this class.- Author:
- ActiveViam
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BookParentChildNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCategory()
int
hashCode()
boolean
isDesk()
void
setCategory(String category)
void
setDesk(boolean desk)
-
Methods inherited from class com.activeviam.risk.ref.parentchild.nodes.ParentChildNode
addChild, getAsOfDate, getChildren, getName, getParent, setAsOfDate, setChildren, setName, setParent
-
-
-
-
Method Detail
-
isDesk
public boolean isDesk()
-
setDesk
public void setDesk(boolean desk)
-
getCategory
public String getCategory()
-
setCategory
public void setCategory(String category)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classParentChildNode<BookParentChildNode>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classParentChildNode<BookParentChildNode>
-
-