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

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

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

Mapping of the same named interface in ebRIM.

See Also:
Serialized Form

Constructor Summary
OrganizationType()
           
 
Method Summary
 void addTelephoneNumber(int index, TelephoneNumber vTelephoneNumber)
           
 void addTelephoneNumber(TelephoneNumber vTelephoneNumber)
           
 void clearTelephoneNumber()
           
 java.util.Enumeration enumerateTelephoneNumber()
           
 Address getAddress()
          Returns the value of field 'address'.
 java.lang.Object getParent()
          Returns the value of field 'parent'.
 java.lang.Object getPrimaryContact()
          Returns the value of field 'primaryContact'.
 TelephoneNumber[] getTelephoneNumber()
           
 TelephoneNumber getTelephoneNumber(int index)
           
 int getTelephoneNumberCount()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 boolean removeTelephoneNumber(TelephoneNumber vTelephoneNumber)
           
 void setAddress(Address address)
          Sets the value of field 'address'.
 void setParent(java.lang.Object parent)
          Sets the value of field 'parent'.
 void setPrimaryContact(java.lang.Object primaryContact)
          Sets the value of field 'primaryContact'.
 void setTelephoneNumber(int index, TelephoneNumber vTelephoneNumber)
           
 void setTelephoneNumber(TelephoneNumber[] telephoneNumberArray)
           
 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

OrganizationType

public OrganizationType()
Method Detail

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

clearTelephoneNumber

public void clearTelephoneNumber()

enumerateTelephoneNumber

public java.util.Enumeration enumerateTelephoneNumber()

getAddress

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

Returns:
the value of field 'address'.

getParent

public java.lang.Object getParent()
Returns the value of field 'parent'.

Returns:
the value of field 'parent'.

getPrimaryContact

public java.lang.Object getPrimaryContact()
Returns the value of field 'primaryContact'.

Returns:
the value of field 'primaryContact'.

getTelephoneNumber

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

getTelephoneNumber

public TelephoneNumber[] getTelephoneNumber()

getTelephoneNumberCount

public int getTelephoneNumberCount()

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

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

setParent

public void setParent(java.lang.Object parent)
Sets the value of field 'parent'.

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

setPrimaryContact

public void setPrimaryContact(java.lang.Object primaryContact)
Sets the value of field 'primaryContact'.

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

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 -

validate

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