org.apache.juddi.datatype
Class AddressLine

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

public class AddressLine
extends java.lang.Object
implements RegistryObject

The address structure is a simple list of AddressLine elements within the address container. AddressLine elements contain string data with a suggested line length of max. 40 chars.

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

Constructor Summary
AddressLine()
          Constructs a new initialized Addressline instance.
AddressLine(java.lang.String line)
          Constructs a new addressline with the given data.
AddressLine(java.lang.String line, java.lang.String name, java.lang.String value)
          Constructs a new addressline with the given data.
 
Method Summary
 java.lang.String getKeyName()
          Returns ...
 java.lang.String getKeyValue()
          Returns ...
 java.lang.String getLineValue()
          Returns the data of the addressline.
 void setKeyName(java.lang.String name)
          Sets ...
 void setKeyValue(java.lang.String value)
          Sets ...
 void setLineValue(java.lang.String line)
          Sets the data of this addressline to the given data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressLine

public AddressLine()
Constructs a new initialized Addressline instance.


AddressLine

public AddressLine(java.lang.String line)
Constructs a new addressline with the given data.

Parameters:
line - The data of the addressline.

AddressLine

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

Parameters:
line - The data of the addressline.
name - ...
value - ...
Method Detail

setLineValue

public void setLineValue(java.lang.String line)
Sets the data of this addressline to the given data.

Parameters:
line - The new data of this addressline.

getLineValue

public java.lang.String getLineValue()
Returns the data of the addressline.

Returns:
The data of the addressline.

setKeyName

public void setKeyName(java.lang.String name)
Sets ...

Parameters:
name -

getKeyName

public java.lang.String getKeyName()
Returns ...

Returns:
the key name

setKeyValue

public void setKeyValue(java.lang.String value)
Sets ...

Parameters:
value -

getKeyValue

public java.lang.String getKeyValue()
Returns ...

Returns:
the key value


Copyright © 2004-2007. All Rights Reserved.