se.kmr.scam.editor.util
Class QueryBinding

java.lang.Object
  extended byse.kmr.scam.editor.util.QueryBinding

public class QueryBinding
extends Object

Description of the Class

Version:
$Revision: 1.12 $
Author:
Jöran
Created:
den 4 september 2002

Constructor Summary
QueryBinding(Resource variable, ValueObject value)
          Constructor for the QueryBinding object
 
Method Summary
 void addBindingsToMap(Collection bindings)
          Adds a feature to the BindingsToMap attribute of the QueryBinding object
 void addBindingToMap(QueryBinding binding)
          Adds a feature to the BindingToMap attribute of the QueryBinding object
 Collection getBindings()
          Gets the bindings attribute of the QueryBinding object
 Collection getBindings(Resource variable)
          Gets the bindings attribute of the QueryBinding object
 int getId()
          Deprecated.  
 ValueObject getValue()
          Gets the value attribute of the QueryBinding object
 Resource getVariable()
          Gets the variable attribute of the QueryBinding object
 void removeAllBindings()
          Description of the Method
 void removeBinding(QueryBinding binding)
          Description of the Method
 boolean removeIfEmpty()
           
 String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryBinding

public QueryBinding(Resource variable,
                    ValueObject value)
Constructor for the QueryBinding object

Parameters:
variable - Description of the Parameter
value - Description of the Parameter
Method Detail

getId

public int getId()
Deprecated.  

Gets the id attribute of the QueryBinding object

Returns:
The id value

getValue

public ValueObject getValue()
Gets the value attribute of the QueryBinding object

Returns:
The value value

removeIfEmpty

public boolean removeIfEmpty()

getVariable

public Resource getVariable()
Gets the variable attribute of the QueryBinding object

Returns:
The variable value

getBindings

public Collection getBindings(Resource variable)
Gets the bindings attribute of the QueryBinding object

Parameters:
variable - Description of the Parameter
Returns:
The bindings value

getBindings

public Collection getBindings()
Gets the bindings attribute of the QueryBinding object

Returns:
The bindings value

addBindingToMap

public void addBindingToMap(QueryBinding binding)
Adds a feature to the BindingToMap attribute of the QueryBinding object

Parameters:
binding - The feature to be added to the BindingToMap attribute

addBindingsToMap

public void addBindingsToMap(Collection bindings)
Adds a feature to the BindingsToMap attribute of the QueryBinding object

Parameters:
bindings - The feature to be added to the BindingsToMap attribute

removeAllBindings

public void removeAllBindings()
Description of the Method


removeBinding

public void removeBinding(QueryBinding binding)
Description of the Method

Parameters:
binding - Description of the Parameter

toString

public String toString()
Description of the Method

Returns:
Description of the Return Value


Copyright © 2003 SCAM. All Rights Reserved.