uk.ac.soton.ecs.grimoires.server.impl.uddiv2.datamodel
Class Address

java.lang.Object
  extended byuk.ac.soton.ecs.grimoires.server.impl.uddiv2.datamodel.Address
All Implemented Interfaces:
Serializable, UDDIv2DataModelVisitable

public class Address
extends Object
implements Serializable, UDDIv2DataModelVisitable

See Also:
Serialized Form

Constructor Summary
Address()
           
Address(AddressLine[] addressLine, String sortCode, String tModelKey, String useType)
           
 
Method Summary
 Object accept(UDDIv2DataModelVisitor v)
          Grimoires specific methods and constructors
 boolean equals(Object obj)
           
 AddressLine[] getAddressLine()
          Gets the addressLine value for this Address.
 AddressLine getAddressLine(int i)
           
 String getSortCode()
          Gets the sortCode value for this Address.
 String getTModelKey()
          Gets the tModelKey value for this Address.
 String getUseType()
          Gets the useType value for this Address.
 int hashCode()
           
 void setAddressLine(AddressLine[] addressLine)
          Sets the addressLine value for this Address.
 void setAddressLine(int i, AddressLine _value)
           
 void setSortCode(String sortCode)
          Sets the sortCode value for this Address.
 void setTModelKey(String tModelKey)
          Sets the tModelKey value for this Address.
 void setUseType(String useType)
          Sets the useType value for this Address.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()

Address

public Address(AddressLine[] addressLine,
               String sortCode,
               String tModelKey,
               String useType)
Method Detail

getAddressLine

public AddressLine[] getAddressLine()
Gets the addressLine value for this Address.

Returns:
addressLine

setAddressLine

public void setAddressLine(AddressLine[] addressLine)
Sets the addressLine value for this Address.

Parameters:
addressLine -

getAddressLine

public AddressLine getAddressLine(int i)

setAddressLine

public void setAddressLine(int i,
                           AddressLine _value)

getUseType

public String getUseType()
Gets the useType value for this Address.

Returns:
useType

setUseType

public void setUseType(String useType)
Sets the useType value for this Address.

Parameters:
useType -

getSortCode

public String getSortCode()
Gets the sortCode value for this Address.

Returns:
sortCode

setSortCode

public void setSortCode(String sortCode)
Sets the sortCode value for this Address.

Parameters:
sortCode -

getTModelKey

public String getTModelKey()
Gets the tModelKey value for this Address.

Returns:
tModelKey

setTModelKey

public void setTModelKey(String tModelKey)
Sets the tModelKey value for this Address.

Parameters:
tModelKey -

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

accept

public Object accept(UDDIv2DataModelVisitor v)
              throws Exception
Grimoires specific methods and constructors

Specified by:
accept in interface UDDIv2DataModelVisitable
Throws:
Exception