Class TemplateObjectLight
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.persistence.application.TemplateObjectLight
-
- All Implemented Interfaces:
Comparable<TemplateObjectLight>
- Direct Known Subclasses:
TemplateObject
public class TemplateObjectLight extends Object implements Comparable<TemplateObjectLight>
Instances of this class represent a simplified representation of an inventory object defined within a template. This is actually very similar, if not identical, to #BusinessObjectLight
, the only difference is that these objects don't exist, they are used as templates to create actual inventory objects. Also, validators are not supported- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description TemplateObjectLight(String className, String id, String name)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TemplateObjectLight o)
String
getClassName()
String
getId()
String
getName()
void
setClassName(String className)
void
setId(String id)
void
setName(String name)
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
compareTo
public int compareTo(TemplateObjectLight o)
- Specified by:
compareTo
in interfaceComparable<TemplateObjectLight>
-
-