se.cambio.cds.gdl.model.expression
Class Variable
java.lang.Object
se.cambio.cds.gdl.model.expression.ExpressionItem
se.cambio.cds.gdl.model.expression.Variable
public class Variable
- extends ExpressionItem
Variable
public Variable(String code,
String name,
String path,
String attribute)
Variable
public Variable(String code,
String name)
Variable
public Variable(String code,
String name,
String path)
Variable
public Variable(String code)
createByCode
public static Variable createByCode(String code)
createByPath
public static Variable createByPath(String path)
getName
public String getName()
- Returns:
- the name
getCode
public String getCode()
- Returns:
- the code
getPath
public String getPath()
- Returns:
- the path
toString
public String toString()
- String representation of a variable as one of the following 1. code 2.
code|name| 3. code.attribute 4. code|name|.attribute 5. path
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getAttribute
public String getAttribute()
- Returns:
- the attribute
Copyright © 2013 Cambio. All Rights Reserved.