Class ServiceManTreeNode
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.optional.serviceman.components.ServiceManTreeNode
-
public class ServiceManTreeNode extends Object
Nodes to display the service manager tree grid explorer- Author:
- Hardy Ryan Chingal Martinez <ryan.chingal@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description ServiceManTreeNode()
ServiceManTreeNode(InventoryObjectPool service)
ServiceManTreeNode(BusinessObjectLight customer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getClassName()
String
getDescription()
com.vaadin.flow.component.icon.Icon
getIcon()
String
getId()
com.vaadin.flow.component.html.Image
getImage()
String
getName()
Object
getObject()
ServiceManTreeNode
getThis()
int
hashCode()
boolean
isCustomer()
boolean
isPool()
boolean
isResource()
boolean
isService()
void
setClassName(String className)
void
setCustomer(boolean customer)
void
setDescription(String description)
void
setIcon(com.vaadin.flow.component.icon.Icon icon)
void
setId(String id)
void
setImage(com.vaadin.flow.component.html.Image image)
void
setName(String name)
void
setObject(Object object)
void
setPool(boolean pool)
void
setResource(boolean resource)
void
setService(boolean service)
String
toString()
-
-
-
Constructor Detail
-
ServiceManTreeNode
public ServiceManTreeNode()
-
ServiceManTreeNode
public ServiceManTreeNode(BusinessObjectLight customer)
-
ServiceManTreeNode
public ServiceManTreeNode(InventoryObjectPool service)
-
-
Method Detail
-
getThis
public ServiceManTreeNode getThis()
-
getId
public String getId()
- Returns:
- the id
-
setId
public void setId(String id)
- Parameters:
id
- the id to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getClassName
public String getClassName()
- Returns:
- the className
-
setClassName
public void setClassName(String className)
- Parameters:
className
- the className to set
-
isCustomer
public boolean isCustomer()
- Returns:
- the service
-
setCustomer
public void setCustomer(boolean customer)
- Parameters:
customer
- the service to set
-
getObject
public Object getObject()
- Returns:
- the object
-
setObject
public void setObject(Object object)
- Parameters:
object
- the object to set
-
isService
public boolean isService()
- Returns:
- the service
-
setService
public void setService(boolean service)
- Parameters:
service
- the service to set
-
isResource
public boolean isResource()
- Returns:
- the resource
-
setResource
public void setResource(boolean resource)
- Parameters:
resource
- the resource to set
-
isPool
public boolean isPool()
- Returns:
- the pool
-
setPool
public void setPool(boolean pool)
- Parameters:
pool
- the pool to set
-
getIcon
public com.vaadin.flow.component.icon.Icon getIcon()
- Returns:
- the icon
-
setIcon
public void setIcon(com.vaadin.flow.component.icon.Icon icon)
- Parameters:
icon
- the icon to set
-
getImage
public com.vaadin.flow.component.html.Image getImage()
- Returns:
- the image
-
setImage
public void setImage(com.vaadin.flow.component.html.Image image)
- Parameters:
image
- the image to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description
- the description to set
-
-