org.apache.juddi.datatype.response
Class Property

java.lang.Object
  extended by org.apache.juddi.datatype.response.Property
All Implemented Interfaces:
java.io.Serializable, RegistryObject

public class Property
extends java.lang.Object
implements RegistryObject

Author:
Steve Viens (sviens@apache.org)
See Also:
Serialized Form

Constructor Summary
Property()
          Constructs a new initialized Property instance.
Property(java.lang.String name, java.lang.String value)
          Constructs a new Property with the given data.
 
Method Summary
 java.lang.String getName()
          Returns the name/key of the property.
 java.lang.String getValue()
          Returns the value of this property.
 void setName(java.lang.String name)
          Sets the name of this property.
 void setValue(java.lang.String value)
          Sets the value of this property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Constructs a new initialized Property instance.


Property

public Property(java.lang.String name,
                java.lang.String value)
Constructs a new Property with the given data.

Parameters:
name - The property name/key.
value - The property data/value.
Method Detail

setName

public void setName(java.lang.String name)
Sets the name of this property.

Parameters:
name - The name of this property.

getName

public java.lang.String getName()
Returns the name/key of the property.

Returns:
The name of the property.

setValue

public void setValue(java.lang.String value)
Sets the value of this property.

Parameters:
value - The value of this property

getValue

public java.lang.String getValue()
Returns the value of this property.

Returns:
The value of this property.


Copyright © 2004-2007. All Rights Reserved.