public class DbElement extends Object implements Cloneable
DbElement class.
| Modifier | Constructor and Description |
|---|---|
protected |
DbElement()
Constructor for DbElement.
|
|
DbElement(DbElement e)
Constructor for DbElement.
|
|
DbElement(int mapId,
int id,
String type,
String label,
String sysoid,
String iconName,
int x,
int y)
Constructor for DbElement.
|
| Modifier and Type | Method and Description |
|---|---|
DbElement |
clone()
clone
|
String |
getIcon()
Getter for the field
icon. |
int |
getId()
Getter for the field
id. |
String |
getLabel()
Getter for the field
label. |
int |
getMapId()
Getter for the field
mapId. |
String |
getSysoid()
Getter for the field
sysoid. |
String |
getType()
Getter for the field
type. |
int |
getX()
Getter for the field
x. |
int |
getY()
Getter for the field
y. |
boolean |
isHideMap()
isHideMap
|
boolean |
isHideNode()
isHideNode
|
boolean |
isMap()
isMap
|
boolean |
isNode()
isNode
|
void |
setIcon(String iconName)
Setter for the field
icon. |
void |
setId(int id)
Setter for the field
id. |
void |
setLabel(String label)
Setter for the field
label. |
void |
setMapId(int mapId)
Setter for the field
mapId. |
void |
setSysoid(String sysoid)
Setter for the field
sysoid. |
void |
setType(String type)
Setter for the field
type. |
void |
setX(int x)
Setter for the field
x. |
void |
setY(int y)
Setter for the field
y. |
protected String type
protected DbElement()
Constructor for DbElement.
public DbElement(DbElement e) throws MapsException
Constructor for DbElement.
e - a DbElement object.MapsException - if any.public DbElement(int mapId,
int id,
String type,
String label,
String sysoid,
String iconName,
int x,
int y)
throws MapsException
Constructor for DbElement.
mapId - a int.id - a int.type - a String object.label - a String object.sysoid - a String object.iconName - a String object.x - a int.y - a int.MapsException - if any.public void setSysoid(String sysoid)
Setter for the field sysoid.
sysoid - a String object.public String getIcon()
Getter for the field icon.
public void setIcon(String iconName)
Setter for the field icon.
iconName - The iconName to set.public String getLabel()
Getter for the field label.
public void setLabel(String label)
Setter for the field label.
label - The label to set.public int getX()
Getter for the field x.
public void setX(int x)
Setter for the field x.
x - The x to set.public int getY()
Getter for the field y.
public void setY(int y)
Setter for the field y.
y - The y to set.public String getType()
Getter for the field type.
public void setType(String type) throws MapsException
Setter for the field type.
type - The type to set.MapsException - if any.public int getMapId()
Getter for the field mapId.
public void setMapId(int mapId)
Setter for the field mapId.
mapId - a int.public int getId()
Getter for the field id.
public void setId(int id)
Setter for the field id.
id - The id to set.public boolean isMap()
isMap
public boolean isNode()
isNode
public boolean isHideMap()
isHideMap
public boolean isHideNode()
isHideNode
Copyright © 2015. All rights reserved.