@Entity public class OnmsLinkState extends Object implements Serializable, Comparable<OnmsLinkState>
Modifier and Type | Class and Description |
---|---|
static class |
OnmsLinkState.LinkState |
static interface |
OnmsLinkState.LinkStateTransition |
Constructor and Description |
---|
OnmsLinkState()
Constructor for OnmsLinkState.
|
OnmsLinkState(DataLinkInterface dataLinkInterface,
OnmsLinkState.LinkState linkState)
Constructor for OnmsLinkState.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OnmsLinkState o)
compareTo
|
boolean |
equals(Object o) |
DataLinkInterface |
getDataLinkInterface()
getDataLinkInterface
|
Integer |
getId()
getId
|
OnmsLinkState.LinkState |
getLinkState()
getLinkState
|
int |
hashCode()
hashCode
|
void |
setDataLinkInterface(DataLinkInterface dataLinkInterface)
setDataLinkInterface
|
void |
setId(Integer id)
setId
|
void |
setLinkState(OnmsLinkState.LinkState linkState)
setLinkState
|
String |
toString()
toString
|
public OnmsLinkState()
Constructor for OnmsLinkState.
public OnmsLinkState(DataLinkInterface dataLinkInterface, OnmsLinkState.LinkState linkState)
Constructor for OnmsLinkState.
dataLinkInterface
- a DataLinkInterface
object.linkState
- a OnmsLinkState.LinkState
object.public DataLinkInterface getDataLinkInterface()
getDataLinkInterface
DataLinkInterface
object.public void setDataLinkInterface(DataLinkInterface dataLinkInterface)
setDataLinkInterface
dataLinkInterface
- a DataLinkInterface
object.public OnmsLinkState.LinkState getLinkState()
getLinkState
OnmsLinkState.LinkState
object.public void setLinkState(OnmsLinkState.LinkState linkState)
setLinkState
linkState
- a OnmsLinkState.LinkState
object.public String toString()
toString
public int compareTo(OnmsLinkState o)
compareTo
compareTo
in interface Comparable<OnmsLinkState>
o
- a OnmsLinkState
object.Copyright © 2015. All rights reserved.