public final class Variable
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
Variable()
Creates new instance.
|
|
Variable(java.lang.String name,
ObjectValue value,
Type type,
long contextId)
Creates new instance.
|
|
Variable(java.lang.String name,
ObjectValue value,
Type type,
long contextId,
boolean internal)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getContextId()
Returns the context id.
|
java.lang.String |
getName()
Returns the name.
|
Type |
getType()
Returns the type.
|
ObjectValue |
getValue()
Returns the value.
|
int |
hashCode() |
boolean |
isInternal()
Returns true if this variable is internal.
|
protected Variable()
public Variable(java.lang.String name,
ObjectValue value,
Type type,
long contextId)
name - value - type - contextId - java.lang.NullPointerException - if the name is nullpublic Variable(java.lang.String name,
ObjectValue value,
Type type,
long contextId,
boolean internal)
name - value - type - contextId - internal - java.lang.NullPointerException - if the name is nullpublic java.lang.String getName()
public ObjectValue getValue()
public Type getType()
public long getContextId()
public boolean isInternal()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.