Eclipse Platform
2.1

org.eclipse.ant.core
Class Property

java.lang.Object
  |
  +--org.eclipse.ant.core.Property

public class Property
extends Object

Represents a Ant user property.

Since:
2.1

Constructor Summary
Property()
           
Property(String name, String value)
           
 
Method Summary
 boolean equals(Object other)
           
 String getName()
          Gets the name
 String getValue()
          Returns the value.
 int hashCode()
           
 void setName(String name)
          Sets the name
 void setValue(String value)
          Sets the value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property

public Property(String name,
                String value)

Property

public Property()
Method Detail

getName

public String getName()
Gets the name
Returns:
Returns a String

setName

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

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getValue

public String getValue()
Returns the value.
Returns:
String

setValue

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

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.