org.opennms.web.map.view
Class VElement
java.lang.Object
org.opennms.web.map.db.Element
org.opennms.web.map.view.VElement
- All Implemented Interfaces:
- Cloneable
public class VElement
- extends Element
- Author:
- micmas
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
|
Constructor Summary |
VElement()
|
VElement(Element e)
|
VElement(int mapId,
int id,
String type,
String label,
String iconName)
|
VElement(int mapId,
int id,
String type,
String iconName,
String label,
int x,
int y)
|
| Methods inherited from class org.opennms.web.map.db.Element |
getIcon, getId, getLabel, getMapId, getType, getX, getY, isMap, isNode, setIcon, setId, setLabel, setType, setX, setY |
isChild
protected boolean isChild
status
protected int status
severity
protected int severity
rtc
protected double rtc
VElement
public VElement()
VElement
public VElement(Element e)
throws MapsException
- Parameters:
e -
- Throws:
MapsException
VElement
public VElement(int mapId,
int id,
String type,
String iconName,
String label,
int x,
int y)
throws MapsException
- Parameters:
mapId - id - type - label - iconName - x - y -
- Throws:
MapsException
VElement
public VElement(int mapId,
int id,
String type,
String label,
String iconName)
throws MapsException
- Throws:
MapsException
getStatus
public int getStatus()
setStatus
public void setStatus(int status)
getSeverity
public int getSeverity()
setSeverity
public void setSeverity(int severity)
getRtc
public double getRtc()
setRtc
public void setRtc(double rtc)
isChild
public boolean isChild()
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
equalsIgnorePosition
public boolean equalsIgnorePosition(VElement elem)
- Parameters:
elem -
- Returns:
equalsIgnorePositionParentMap
public boolean equalsIgnorePositionParentMap(VElement elem)
hasSameIdentifier
public boolean hasSameIdentifier(VElement elem)
setMapId
public void setMapId(int mapId)
- Overrides:
setMapId in class Element
getContainerMap
public final int getContainerMap()
throws VElementNotChildException
- Throws:
VElementNotChildException
toString
public String toString()
- Overrides:
toString in class Object
clone
public VElement clone()
- Overrides:
clone in class Element
Copyright © 2009. All Rights Reserved.