|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.tuberlin.cs.cis.ocl.env.Binding
binds an identifier to a value or/and a type.
Constructor Summary | |
Binding(Identifier id)
Constructs a binding with an identifier. |
|
Binding(Identifier id,
Property property)
Constructs a binding with an identifier and its property. |
|
Binding(Identifier id,
Type type)
Constructs a binding with an identifier and its type. |
Method Summary | |
Identifier |
getIdentifier()
Returns the identifier bound in this binding. |
Property |
getProperty()
Returns the property bound to the identifier. |
Type |
getType()
Returns the type bound to the identifier. |
java.lang.Object |
getValue()
Returns the value bound to the identifier. |
void |
setValue(java.lang.Object newValue)
Sets the value to be bound to the identifier. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Binding(Identifier id)
id
- the identifierpublic Binding(Identifier id, Type type)
id
- the identifiertype
- the type to be bound.public Binding(Identifier id, Property property)
id
- the identifierproperty
- the property to be bound.Method Detail |
public Type getType()
public Identifier getIdentifier()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.Object getValue()
public void setValue(java.lang.Object newValue)
newValue
- the value of this binding.public Property getProperty()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |