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

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.rim.RegistryObjectType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssociationType1, AuditableEventType, ClassificationNodeType, ClassificationType, ExternalIdentifierType, ExternalLinkType, OrganizationType, RegistryEntryType, RegistryObject, ServiceBindingType, SpecificationLinkType, UserType

public abstract class RegistryObjectType
extends java.lang.Object
implements java.io.Serializable

id may be empty. If specified it may be in urn:uuid format or be in some arbitrary format. If id is empty registry must generate globally unique id. If id is provided and in proper UUID syntax (starts with urn:uuid:) registry will honour it. If id is provided and is not in proper UUID syntax then it is used for linkage within document and is ignored by the registry. In this case the registry generates a UUID for id attribute. id must not be null when object is being retrieved from the registry.

See Also:
Serialized Form

Constructor Summary
RegistryObjectType()
           
 
Method Summary
 void addClassification(Classification vClassification)
           
 void addClassification(int index, Classification vClassification)
           
 void addExternalIdentifier(ExternalIdentifier vExternalIdentifier)
           
 void addExternalIdentifier(int index, ExternalIdentifier vExternalIdentifier)
           
 void addSlot(int index, Slot vSlot)
           
 void addSlot(Slot vSlot)
           
 void clearClassification()
           
 void clearExternalIdentifier()
           
 void clearSlot()
           
 java.util.Enumeration enumerateClassification()
           
 java.util.Enumeration enumerateExternalIdentifier()
           
 java.util.Enumeration enumerateSlot()
           
 java.lang.Object getAccessControlPolicy()
          Returns the value of field 'accessControlPolicy'.
 Classification[] getClassification()
           
 Classification getClassification(int index)
           
 int getClassificationCount()
           
 Description getDescription()
          Returns the value of field 'description'.
 ExternalIdentifier[] getExternalIdentifier()
           
 ExternalIdentifier getExternalIdentifier(int index)
           
 int getExternalIdentifierCount()
           
 java.lang.String getId()
          Returns the value of field 'id'.
 Name getName()
          Returns the value of field 'name'.
 java.lang.String getObjectType()
          Returns the value of field 'objectType'.
 Slot[] getSlot()
           
 Slot getSlot(int index)
           
 int getSlotCount()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 boolean removeClassification(Classification vClassification)
           
 boolean removeExternalIdentifier(ExternalIdentifier vExternalIdentifier)
           
 boolean removeSlot(Slot vSlot)
           
 void setAccessControlPolicy(java.lang.Object accessControlPolicy)
          Sets the value of field 'accessControlPolicy'.
 void setClassification(Classification[] classificationArray)
           
 void setClassification(int index, Classification vClassification)
           
 void setDescription(Description description)
          Sets the value of field 'description'.
 void setExternalIdentifier(ExternalIdentifier[] externalIdentifierArray)
           
 void setExternalIdentifier(int index, ExternalIdentifier vExternalIdentifier)
           
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setName(Name name)
          Sets the value of field 'name'.
 void setObjectType(java.lang.String objectType)
          Sets the value of field 'objectType'.
 void setSlot(int index, Slot vSlot)
           
 void setSlot(Slot[] slotArray)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryObjectType

public RegistryObjectType()
Method Detail

addClassification

public void addClassification(Classification vClassification)
                       throws java.lang.IndexOutOfBoundsException
Parameters:
vClassification -
Throws:
java.lang.IndexOutOfBoundsException

addClassification

public void addClassification(int index,
                              Classification vClassification)
                       throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vClassification -
Throws:
java.lang.IndexOutOfBoundsException

addExternalIdentifier

public void addExternalIdentifier(ExternalIdentifier vExternalIdentifier)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
vExternalIdentifier -
Throws:
java.lang.IndexOutOfBoundsException

addExternalIdentifier

public void addExternalIdentifier(int index,
                                  ExternalIdentifier vExternalIdentifier)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vExternalIdentifier -
Throws:
java.lang.IndexOutOfBoundsException

addSlot

public void addSlot(Slot vSlot)
             throws java.lang.IndexOutOfBoundsException
Parameters:
vSlot -
Throws:
java.lang.IndexOutOfBoundsException

addSlot

public void addSlot(int index,
                    Slot vSlot)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSlot -
Throws:
java.lang.IndexOutOfBoundsException

clearClassification

public void clearClassification()

clearExternalIdentifier

public void clearExternalIdentifier()

clearSlot

public void clearSlot()

enumerateClassification

public java.util.Enumeration enumerateClassification()

enumerateExternalIdentifier

public java.util.Enumeration enumerateExternalIdentifier()

enumerateSlot

public java.util.Enumeration enumerateSlot()

getAccessControlPolicy

public java.lang.Object getAccessControlPolicy()
Returns the value of field 'accessControlPolicy'.

Returns:
the value of field 'accessControlPolicy'.

getClassification

public Classification getClassification(int index)
                                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getClassification

public Classification[] getClassification()

getClassificationCount

public int getClassificationCount()

getDescription

public Description getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getExternalIdentifier

public ExternalIdentifier getExternalIdentifier(int index)
                                         throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getExternalIdentifier

public ExternalIdentifier[] getExternalIdentifier()

getExternalIdentifierCount

public int getExternalIdentifierCount()

getId

public java.lang.String getId()
Returns the value of field 'id'.

Returns:
the value of field 'id'.

getName

public Name getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

getObjectType

public java.lang.String getObjectType()
Returns the value of field 'objectType'.

Returns:
the value of field 'objectType'.

getSlot

public Slot getSlot(int index)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getSlot

public Slot[] getSlot()

getSlotCount

public int getSlotCount()

isValid

public boolean isValid()

marshal

public abstract void marshal(java.io.Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
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
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeClassification

public boolean removeClassification(Classification vClassification)
Parameters:
vClassification -

removeExternalIdentifier

public boolean removeExternalIdentifier(ExternalIdentifier vExternalIdentifier)
Parameters:
vExternalIdentifier -

removeSlot

public boolean removeSlot(Slot vSlot)
Parameters:
vSlot -

setAccessControlPolicy

public void setAccessControlPolicy(java.lang.Object accessControlPolicy)
Sets the value of field 'accessControlPolicy'.

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

setClassification

public void setClassification(int index,
                              Classification vClassification)
                       throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vClassification -
Throws:
java.lang.IndexOutOfBoundsException

setClassification

public void setClassification(Classification[] classificationArray)
Parameters:
classificationArray -

setDescription

public void setDescription(Description description)
Sets the value of field 'description'.

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

setExternalIdentifier

public void setExternalIdentifier(int index,
                                  ExternalIdentifier vExternalIdentifier)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vExternalIdentifier -
Throws:
java.lang.IndexOutOfBoundsException

setExternalIdentifier

public void setExternalIdentifier(ExternalIdentifier[] externalIdentifierArray)
Parameters:
externalIdentifierArray -

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

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

setName

public void setName(Name name)
Sets the value of field 'name'.

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

setObjectType

public void setObjectType(java.lang.String objectType)
Sets the value of field 'objectType'.

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

setSlot

public void setSlot(int index,
                    Slot vSlot)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSlot -
Throws:
java.lang.IndexOutOfBoundsException

setSlot

public void setSlot(Slot[] slotArray)
Parameters:
slotArray -

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException