public abstract class AbstractArea extends DomainObject implements AreaType
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active
Way to switch on or off area without having to update other data to turn it off
|
protected String |
code
Region Code
|
protected String |
currency
Currency for the region
|
protected String |
hierarchy |
protected String |
language
What is the language for the Region.
|
protected String |
name
Name of Area / Locality
|
protected String |
type
Area Type Country, region, PIN etc.
|
ROOT| Constructor and Description |
|---|
AbstractArea() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
A code to represent the region, country or area
|
String |
getCurrency() |
String |
getDisplayName()
Human readable Name of region / area
|
String |
getHierarchy()
A String like: "rootId-nodeId-subnodeId-thisId"; gives the entire picture of
the hierarchy to this point.
|
String |
getLanguage() |
String |
getName()
System name for the area
|
String |
getType()
Type of Area/Region
|
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setCode(String code) |
void |
setCurrency(String currency) |
void |
setHierarchy(String hierarchy)
A String like: "rootId-nodeId-subnodeId-thisId"; gives the entire picture of
the hierarchy to this point.
|
void |
setLanguage(String language) |
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 |
setType(String type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParentId, setId, setParentIdprotected String code
protected String type
protected String name
protected String language
protected String currency
protected boolean active
protected String hierarchy
public String getCode()
AreaTypepublic void setCode(String code)
public void setType(String type)
public String getName()
AreaTypegetName in interface IHierarchialReference<String>getName in interface AreaTypepublic void setName(String name)
IHierarchialReferencesetName in interface IHierarchialReference<String>public String getLanguage()
public void setLanguage(String language)
public String getCurrency()
public void setCurrency(String currency)
public boolean isActive()
public void setActive(boolean active)
public String getHierarchy()
IHierarchialReferencegetHierarchy in interface IHierarchialReference<String>public void setHierarchy(String hierarchy)
IHierarchialReferencesetHierarchy in interface IHierarchialReference<String>public String getDisplayName()
AreaTypegetDisplayName in interface DisplayablegetDisplayName in interface AreaTypeCopyright © 2018. All rights reserved.