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, wait
getParentId, setId, setParentId
protected String code
protected String type
protected String name
protected String language
protected String currency
protected boolean active
protected String hierarchy
public String getCode()
AreaType
public void setCode(String code)
public void setType(String type)
public String getName()
AreaType
getName
in interface IHierarchialReference<String>
getName
in interface AreaType
public void setName(String name)
IHierarchialReference
setName
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()
IHierarchialReference
getHierarchy
in interface IHierarchialReference<String>
public void setHierarchy(String hierarchy)
IHierarchialReference
setHierarchy
in interface IHierarchialReference<String>
public String getDisplayName()
AreaType
getDisplayName
in interface Displayable
getDisplayName
in interface AreaType
Copyright © 2018. All rights reserved.