|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.helsinki.dacopan.model.StaticVariable
public class StaticVariable
A variable with a static value specific to a host, link, protocol or a combination of them.
VariableDefinition
Field Summary | |
---|---|
protected Host |
host
the host this variable is associated with, if any |
protected Link |
link
the link this variable is associated with, if any |
protected java.lang.String |
name
name of the variable |
protected Protocol |
protocol
the protocol this variable is associated with, if any |
protected java.lang.String |
value
value of the variable |
Constructor Summary | |
---|---|
StaticVariable(java.lang.String name,
java.lang.String value,
Host host,
Link link,
Protocol protocol)
Creates a static variable with the given name and value (required). |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getFullName()
|
Host |
getHost()
|
Link |
getLink()
|
java.lang.String |
getName()
|
Protocol |
getProtocol()
|
java.lang.String |
getValue()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String value
protected Host host
protected Link link
protected Protocol protocol
Constructor Detail |
---|
public StaticVariable(java.lang.String name, java.lang.String value, Host host, Link link, Protocol protocol)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getFullName()
public java.lang.String getValue()
public Host getHost()
public Link getLink()
public Protocol getProtocol()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |