@Entity public class OnmsMapElement extends Object implements Serializable
OnmsMapElement class.
Modifier and Type | Field and Description |
---|---|
static String |
defaultMapIcon
Constant
defaultMapIcon="map" |
static String |
defaultNodeIcon
Constant
defaultNodeIcon="unspecified" |
static String |
MAP_HIDE_TYPE
Constant
MAP_HIDE_TYPE="W" |
static String |
MAP_TYPE
Constant
MAP_TYPE="M" |
static String |
NODE_HIDE_TYPE
Constant
NODE_HIDE_TYPE="H" |
static String |
NODE_TYPE
Constant
NODE_TYPE="N" |
protected String |
type |
Modifier | Constructor and Description |
---|---|
protected |
OnmsMapElement()
Constructor for OnmsMapElement.
|
|
OnmsMapElement(OnmsMapElement e)
Constructor for OnmsMapElement.
|
|
OnmsMapElement(OnmsMap map,
int elementId,
String type,
String label,
String iconName,
int x,
int y)
Constructor for OnmsMapElement.
|
|
OnmsMapElement(OnmsMap map,
int elementId,
String type,
String label,
String iconName,
int x,
int y,
int id)
Constructor for OnmsMapElement.
|
Modifier and Type | Method and Description |
---|---|
int |
getElementId()
Getter for the field
elementId . |
String |
getIconName()
Getter for the field
iconName . |
int |
getId()
Getter for the field
id . |
String |
getLabel()
Getter for the field
label . |
OnmsMap |
getMap()
Getter for the field
map . |
String |
getMapElementId()
getMapElementId
|
String |
getType()
Getter for the field
type . |
int |
getX()
Getter for the field
x . |
int |
getY()
Getter for the field
y . |
void |
setElementId(int elementId)
Setter for the field
elementId . |
void |
setIconName(String iconName)
Setter for the field
iconName . |
void |
setId(int id)
Setter for the field
id . |
void |
setLabel(String label)
Setter for the field
label . |
void |
setMap(OnmsMap map)
Setter for the field
map . |
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 . |
public static final String MAP_TYPE
MAP_TYPE="M"
public static final String MAP_HIDE_TYPE
MAP_HIDE_TYPE="W"
public static final String NODE_TYPE
NODE_TYPE="N"
public static final String NODE_HIDE_TYPE
NODE_HIDE_TYPE="H"
public static final String defaultNodeIcon
defaultNodeIcon="unspecified"
public static final String defaultMapIcon
defaultMapIcon="map"
protected String type
protected OnmsMapElement()
Constructor for OnmsMapElement.
public OnmsMapElement(OnmsMapElement e)
Constructor for OnmsMapElement.
e
- a OnmsMapElement
object.public OnmsMapElement(OnmsMap map, int elementId, String type, String label, String iconName, int x, int y, int id)
Constructor for OnmsMapElement.
public int getId()
Getter for the field id
.
public void setId(int id)
Setter for the field id
.
id
- a int.public int getElementId()
Getter for the field elementId
.
public void setElementId(int elementId)
Setter for the field elementId
.
elementId
- a int.public void setType(String type)
Setter for the field type
.
type
- a String
object.public void setLabel(String label)
Setter for the field label
.
label
- a String
object.public void setIconName(String iconName)
Setter for the field iconName
.
iconName
- a String
object.public int getX()
Getter for the field x
.
public void setX(int x)
Setter for the field x
.
x
- a int.public int getY()
Getter for the field y
.
public void setY(int y)
Setter for the field y
.
y
- a int.Copyright © 2015. All rights reserved.