com.ptc.windchill.ws
Class Property

java.lang.Object
  extended by com.ptc.windchill.ws.Property
All Implemented Interfaces:
Serializable

public class Property
extends Object
implements Serializable

Java bean that defines a property of a generic business object.

Supported API: true

Extendable: false

See Also:
GenericBusinessObject, Serialized Form

Constructor Summary
Property()
          Constructs a new empty Property object.
Property(String name, String value)
          Constructs a new Property object with name and value.
 
Method Summary
 boolean equals(Object o)
          Tests this Property object against another object for equality.
 String getName()
          Retrieves this Property object's name.
 String getValue()
          Retrieves this Property object's value.
 void setName(String name)
          Sets this Property object's name.
 void setValue(String value)
          Sets this Property object's value.
 String toString()
          

Supported API: true
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property

public Property()
Constructs a new empty Property object.

Supported API: true


Property

public Property(String name,
                String value)
Constructs a new Property object with name and value.

Supported API: true

Parameters:
name - The property name.
value - The property value.
Method Detail

setName

public void setName(String name)
Sets this Property object's name.

Supported API: true

Parameters:
name - The new property name.

getName

public String getName()
Retrieves this Property object's name.

Supported API: true

Returns:
The property name.

setValue

public void setValue(String value)
Sets this Property object's value.

Supported API: true

Parameters:
value - The new property value.

getValue

public String getValue()
Retrieves this Property object's value.

Supported API: true

Returns:
The property value.

toString

public String toString()


Supported API: true

Overrides:
toString in class Object
Returns:
A basic String representation of this Property object.

equals

public boolean equals(Object o)
Tests this Property object against another object for equality.

Supported API: true

Overrides:
equals in class Object
Returns:
true if o is equivalent.