Class Variable
java.lang.Object
org.eclipse.epsilon.eol.execute.context.Variable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
static Variable
createReadOnlyVariable
(String name, Object value) static Variable
createReadOnlyVariable
(Map.Entry<String, ?> entry) void
dispose()
boolean
getName()
getType()
getValue()
int
hashCode()
boolean
void
setDeprecationInfo
(String deprecationInfo) void
void
setReadOnly
(boolean readOnly) void
void
setValue
(Object newValue, IEolContext context) void
setValueBruteForce
(Object newValue) toString()
-
Field Details
-
name
-
value
-
type
-
readOnly
protected boolean readOnly -
deprecationInfo
-
-
Constructor Details
-
Variable
public Variable() -
Variable
- Parameters:
entry
-- Since:
- 1.6
-
Variable
-
Variable
-
Variable
-
Variable
Creates a shallow copy of the given Variable.- Parameters:
v
- The variable to shallow copy from- Since:
- 1.6
-
-
Method Details
-
createReadOnlyVariable
-
createReadOnlyVariable
- Parameters:
entry
-- Returns:
- Since:
- 1.6
-
dispose
public void dispose() -
getValue
-
setValue
- Throws:
EolRuntimeException
-
setValueBruteForce
-
setType
-
getType
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly) -
getName
-
setName
-
getDeprecationInfo
-
setDeprecationInfo
-
clone
-
equals
-
hashCode
public int hashCode() -
toString
-