com.intel.gpe.clients.api.workflow
Class Variable

java.lang.Object
  extended by com.intel.gpe.clients.api.workflow.Variable

public class Variable
extends java.lang.Object

The object representing a variable or its part. The variable consists of parts. Each part may have a value that is an XML Node, the sub-nodes of this node may be referenced with XPath queries.

Version:
$Id: Variable.java,v 1.3 2006/09/25 08:00:15 vashorin Exp $
Author:
Alexander Lukichev

Constructor Summary
Variable()
           
Variable(java.lang.String name, java.lang.String part, java.lang.String query)
          Create the Variable object.
 
Method Summary
 Variable derive(java.lang.String query)
          Derive the variable that points to a sub-node of the node referenced by this variable.
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Get the name.
 java.lang.String getPart()
          Get the part.
 java.lang.String getQuery()
          Get the query.
 int hashCode()
           
 void setName(java.lang.String name)
          Set the name.
 void setPart(java.lang.String part)
          Set the part.
 void setQuery(java.lang.String query)
          Set the query.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Variable

public Variable()

Variable

public Variable(java.lang.String name,
                java.lang.String part,
                java.lang.String query)
Create the Variable object.

Parameters:
name - the name of the variable
part - the name of the part
query - the query
Method Detail

getName

public java.lang.String getName()
Get the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Set the name.

Parameters:
name - the name

getPart

public java.lang.String getPart()
Get the part.

Returns:
the part

setPart

public void setPart(java.lang.String part)
Set the part.

Parameters:
part - the part

getQuery

public java.lang.String getQuery()
Get the query.

Returns:
the query

setQuery

public void setQuery(java.lang.String query)
Set the query.

Parameters:
query - the query

derive

public Variable derive(java.lang.String query)
Derive the variable that points to a sub-node of the node referenced by this variable.

Parameters:
query - the query within this variable value

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.