public class ProductReference extends HierarchialDomainObject implements IProductReference
ATTRIB_HIERARCHY_STARTS_LIKE, ATTRIB_PRODUCT_PARENT, parentId
ROOT
Constructor and Description |
---|
ProductReference() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Display Name
|
Long |
getId() |
String |
getName()
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
String |
getProductCode()
Product Code unique for all products
|
Class |
getType()
Type of Product
|
void |
setDisplayName(String displayName)
Display Name
|
void |
setId(Long id) |
void |
setName(String name)
Unique Name to refer to the record
Id is an Auto generated number used by the system,
but is difficult for the outside world to get a handle on it.
|
void |
setProductCode(String productCode)
Product Code unique for all products
|
void |
setType(Class type)
Type of Product
|
String |
toString() |
equals, getHierarchy, getParentId, hashCode, setHierarchy, setParentId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHierarchy, getParentId, setHierarchy, setParentId
public Long getId()
getId
in interface IHierarchialReference<Long>
public void setId(Long id)
setId
in interface IHierarchialReference<Long>
public String getDisplayName()
getDisplayName
in interface Displayable
getDisplayName
in class HierarchialDomainObject
public void setDisplayName(String displayName)
setDisplayName
in class HierarchialDomainObject
name
- as Stringpublic String getName()
getName
in interface IHierarchialReference<Long>
public void setName(String name)
setName
in interface IHierarchialReference<Long>
public String getProductCode()
getProductCode
in interface IProductReference
public void setProductCode(String productCode)
setProductCode
in interface IProductReference
public Class getType()
public void setType(Class type)
public String toString()
toString
in class HierarchialDomainObject
Copyright © 2018. All rights reserved.