V
- the generic type of the value represented by this variable.public class Variable<V> extends Object implements AttributeReadName
Statement
s.Modifier | Constructor and Description |
---|---|
protected |
Variable(String name)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName() |
int |
hashCode() |
String |
toString() |
static <V> Variable<V> |
valueOf(String name) |
static <V> Variable<V> |
valueOf(String name,
PropertyPath<V> path) |
private final String name
public String getName()
getName
in interface AttributeReadName
null
if not set. The name is used to represent the object and might be
displayed to end-users.public static <V> Variable<V> valueOf(String name, PropertyPath<V> path)
V
- the generic type of the value represented by this variable.name
- the name
of the variable.path
- the PropertyPath
this variable stands for.Variable
.Copyright © 2001–2016 mmm-Team. All rights reserved.