Class Property

java.lang.Object
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:
  • Constructor Details

    • 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 Details

    • 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.