org.ow2.jonas.ant
Class PropertyStatement

java.lang.Object
  extended by org.ow2.jonas.ant.PropertyStatement

public class PropertyStatement
extends Object

Author:
eyindanga Represents a statement for property adding or replacement.

Constructor Summary
PropertyStatement()
          Default constructor.
PropertyStatement(String name, String value, boolean add)
          Default constructor.
 
Method Summary
 String getName()
           
 String getValue()
           
 boolean isAdd()
           
 void setAdd(boolean add)
           
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyStatement

public PropertyStatement()
Default constructor.


PropertyStatement

public PropertyStatement(String name,
                         String value,
                         boolean add)
Default constructor.

Method Detail

getName

public String getName()
Returns:
the name.

setName

public void setName(String name)
Parameters:
name - the name to set.

getValue

public String getValue()
Returns:
the value

setValue

public void setValue(String value)
Parameters:
value - the value to set.

isAdd

public boolean isAdd()
Returns:
the add.

setAdd

public void setAdd(boolean add)
Parameters:
add - the add to set.


Copyright © 2010 OW2 Consortium. All Rights Reserved.