Modifier and Type | Field and Description |
---|---|
protected double |
avail |
protected boolean |
isChild |
protected int |
severity |
protected int |
status |
Constructor and Description |
---|
VElement()
Constructor for VElement.
|
VElement(DbElement e)
Constructor for VElement.
|
VElement(int mapId,
int id,
String type,
String label,
String sysoid,
String iconName)
Constructor for VElement.
|
VElement(int mapId,
int id,
String type,
String sysoid,
String iconName,
String label,
int x,
int y)
Constructor for VElement.
|
Modifier and Type | Method and Description |
---|---|
VElement |
clone()
clone
|
boolean |
equals(Object other) |
boolean |
equalsIgnorePosition(VElement elem)
equalsIgnorePosition
|
boolean |
equalsIgnorePositionParentMap(VElement elem)
equalsIgnorePositionParentMap
|
double |
getAvail()
Getter for the field
avail . |
int |
getContainerMap()
getContainerMap
|
int |
getSeverity()
Getter for the field
severity . |
int |
getStatus()
Getter for the field
status . |
boolean |
hasSameIdentifier(VElement elem)
hasSameIdentifier
|
boolean |
isChild()
isChild
|
void |
setAvail(double rtc)
Setter for the field
avail . |
void |
setMapId(int mapId)
Setter for the field
mapId . |
void |
setSeverity(int severity)
Setter for the field
severity . |
void |
setStatus(int status)
Setter for the field
status . |
String |
toString()
toString
|
protected boolean isChild
protected int status
protected int severity
protected double avail
public VElement()
Constructor for VElement.
public VElement(DbElement e) throws MapsException
Constructor for VElement.
e
- a DbElement
object.MapsException
- if any.public VElement(int mapId, int id, String type, String sysoid, String iconName, String label, int x, int y) throws MapsException
Constructor for VElement.
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 VElement(int mapId, int id, String type, String label, String sysoid, String iconName) throws MapsException
Constructor for VElement.
mapId
- a int.id
- a int.type
- a String
object.label
- a String
object.sysoid
- a String
object.iconName
- a String
object.MapsException
- if any.public int getStatus()
Getter for the field status
.
public void setStatus(int status)
Setter for the field status
.
status
- a int.public int getSeverity()
Getter for the field severity
.
public void setSeverity(int severity)
Setter for the field severity
.
severity
- a int.public double getAvail()
Getter for the field avail
.
public void setAvail(double rtc)
Setter for the field avail
.
rtc
- a double.public boolean isChild()
isChild
public boolean equalsIgnorePosition(VElement elem)
equalsIgnorePosition
elem
- a VElement
object.public boolean equalsIgnorePositionParentMap(VElement elem)
equalsIgnorePositionParentMap
elem
- a VElement
object.public boolean hasSameIdentifier(VElement elem)
hasSameIdentifier
elem
- a VElement
object.public void setMapId(int mapId)
Setter for the field mapId
.
public final int getContainerMap() throws VElementNotChildException
getContainerMap
VElementNotChildException
- if any.public String toString()
toString
Copyright © 2015. All rights reserved.