org.oasis.ebxml.registry.bindings.rim
Class UserType

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rim.RegistryObjectType
      extended byorg.oasis.ebxml.registry.bindings.rim.UserType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
User

public abstract class UserType
extends RegistryObjectType
implements java.io.Serializable

Mapping of the same named interface in ebRIM.

See Also:
Serialized Form

Constructor Summary
UserType()
           
 
Method Summary
 void addEmailAddress(EmailAddress vEmailAddress)
           
 void addEmailAddress(int index, EmailAddress vEmailAddress)
           
 void addTelephoneNumber(int index, TelephoneNumber vTelephoneNumber)
           
 void addTelephoneNumber(TelephoneNumber vTelephoneNumber)
           
 void clearEmailAddress()
           
 void clearTelephoneNumber()
           
 java.util.Enumeration enumerateEmailAddress()
           
 java.util.Enumeration enumerateTelephoneNumber()
           
 Address getAddress()
          Returns the value of field 'address'.
 EmailAddress[] getEmailAddress()
           
 EmailAddress getEmailAddress(int index)
           
 int getEmailAddressCount()
           
 java.lang.Object getOrganization()
          Returns the value of field 'organization'.
 PersonName getPersonName()
          Returns the value of field 'personName'.
 TelephoneNumber[] getTelephoneNumber()
           
 TelephoneNumber getTelephoneNumber(int index)
           
 int getTelephoneNumberCount()
           
 java.lang.String getUrl()
          Returns the value of field 'url'.
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 boolean removeEmailAddress(EmailAddress vEmailAddress)
           
 boolean removeTelephoneNumber(TelephoneNumber vTelephoneNumber)
           
 void setAddress(Address address)
          Sets the value of field 'address'.
 void setEmailAddress(EmailAddress[] emailAddressArray)
           
 void setEmailAddress(int index, EmailAddress vEmailAddress)
           
 void setOrganization(java.lang.Object organization)
          Sets the value of field 'organization'.
 void setPersonName(PersonName personName)
          Sets the value of field 'personName'.
 void setTelephoneNumber(int index, TelephoneNumber vTelephoneNumber)
           
 void setTelephoneNumber(TelephoneNumber[] telephoneNumberArray)
           
 void setUrl(java.lang.String url)
          Sets the value of field 'url'.
 void validate()
           
 
Methods inherited from class org.oasis.ebxml.registry.bindings.rim.RegistryObjectType
addClassification, addClassification, addExternalIdentifier, addExternalIdentifier, addSlot, addSlot, clearClassification, clearExternalIdentifier, clearSlot, enumerateClassification, enumerateExternalIdentifier, enumerateSlot, getAccessControlPolicy, getClassification, getClassification, getClassificationCount, getDescription, getExternalIdentifier, getExternalIdentifier, getExternalIdentifierCount, getId, getName, getObjectType, getSlot, getSlot, getSlotCount, removeClassification, removeExternalIdentifier, removeSlot, setAccessControlPolicy, setClassification, setClassification, setDescription, setExternalIdentifier, setExternalIdentifier, setId, setName, setObjectType, setSlot, setSlot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserType

public UserType()
Method Detail

addEmailAddress

public void addEmailAddress(EmailAddress vEmailAddress)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
vEmailAddress -
Throws:
java.lang.IndexOutOfBoundsException

addEmailAddress

public void addEmailAddress(int index,
                            EmailAddress vEmailAddress)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vEmailAddress -
Throws:
java.lang.IndexOutOfBoundsException

addTelephoneNumber

public void addTelephoneNumber(TelephoneNumber vTelephoneNumber)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
vTelephoneNumber -
Throws:
java.lang.IndexOutOfBoundsException

addTelephoneNumber

public void addTelephoneNumber(int index,
                               TelephoneNumber vTelephoneNumber)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vTelephoneNumber -
Throws:
java.lang.IndexOutOfBoundsException

clearEmailAddress

public void clearEmailAddress()

clearTelephoneNumber

public void clearTelephoneNumber()

enumerateEmailAddress

public java.util.Enumeration enumerateEmailAddress()

enumerateTelephoneNumber

public java.util.Enumeration enumerateTelephoneNumber()

getAddress

public Address getAddress()
Returns the value of field 'address'.

Returns:
the value of field 'address'.

getEmailAddress

public EmailAddress getEmailAddress(int index)
                             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getEmailAddress

public EmailAddress[] getEmailAddress()

getEmailAddressCount

public int getEmailAddressCount()

getOrganization

public java.lang.Object getOrganization()
Returns the value of field 'organization'.

Returns:
the value of field 'organization'.

getPersonName

public PersonName getPersonName()
Returns the value of field 'personName'.

Returns:
the value of field 'personName'.

getTelephoneNumber

public TelephoneNumber getTelephoneNumber(int index)
                                   throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getTelephoneNumber

public TelephoneNumber[] getTelephoneNumber()

getTelephoneNumberCount

public int getTelephoneNumberCount()

getUrl

public java.lang.String getUrl()
Returns the value of field 'url'.

Returns:
the value of field 'url'.

isValid

public boolean isValid()
Overrides:
isValid in class RegistryObjectType

marshal

public abstract void marshal(java.io.Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Specified by:
marshal in class RegistryObjectType
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public abstract void marshal(org.xml.sax.DocumentHandler handler)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Specified by:
marshal in class RegistryObjectType
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeEmailAddress

public boolean removeEmailAddress(EmailAddress vEmailAddress)
Parameters:
vEmailAddress -

removeTelephoneNumber

public boolean removeTelephoneNumber(TelephoneNumber vTelephoneNumber)
Parameters:
vTelephoneNumber -

setAddress

public void setAddress(Address address)
Sets the value of field 'address'.

Parameters:
address - the value of field 'address'.

setEmailAddress

public void setEmailAddress(int index,
                            EmailAddress vEmailAddress)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vEmailAddress -
Throws:
java.lang.IndexOutOfBoundsException

setEmailAddress

public void setEmailAddress(EmailAddress[] emailAddressArray)
Parameters:
emailAddressArray -

setOrganization

public void setOrganization(java.lang.Object organization)
Sets the value of field 'organization'.

Parameters:
organization - the value of field 'organization'.

setPersonName

public void setPersonName(PersonName personName)
Sets the value of field 'personName'.

Parameters:
personName - the value of field 'personName'.

setTelephoneNumber

public void setTelephoneNumber(int index,
                               TelephoneNumber vTelephoneNumber)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vTelephoneNumber -
Throws:
java.lang.IndexOutOfBoundsException

setTelephoneNumber

public void setTelephoneNumber(TelephoneNumber[] telephoneNumberArray)
Parameters:
telephoneNumberArray -

setUrl

public void setUrl(java.lang.String url)
Sets the value of field 'url'.

Parameters:
url - the value of field 'url'.

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Overrides:
validate in class RegistryObjectType
Throws:
org.exolab.castor.xml.ValidationException