Class RegistryResponseType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable
    Direct Known Subclasses:
    CatalogObjectsResponse, FilterObjectsResponse, QueryResponse, ValidateObjectsResponse

    @CodingStyleguideUnaware
    public class RegistryResponseType
    extends ExtensibleObjectType
    Base type for all ebXML Registry responses

    Java class for RegistryResponseType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="RegistryResponseType">
       <complexContent>
         <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ExtensibleObjectType">
           <sequence>
             <element name="Exception" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0}RegistryExceptionType" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}RegistryObjectList" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ObjectRefList" minOccurs="0"/>
           </sequence>
           <attribute name="status" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
           <attribute name="requestId" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </extension>
       </complexContent>
     </complexType>
     

    This class was annotated by ph-jaxb-plugin -Xph-annotate

    This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode

    This class contains methods created by ph-jaxb-plugin -Xph-tostring

    This class contains methods created by ph-jaxb-plugin -Xph-list-extension

    This class contains methods created by ph-jaxb-plugin -Xph-cloneable2

    This class contains methods created by ph-jaxb-plugin -Xph-value-extender

    See Also:
    Serialized Form
    • Constructor Detail

      • RegistryResponseType

        public RegistryResponseType()
        Default constructor
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
    • Method Detail

      • getException

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<RegistryExceptionType> getException()
        Gets the value of the exception property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the exception property.

        For example, to add a new item, do as follows:

            getException().add(newItem);
         

        Objects of the following type(s) are allowed in the list RegistryExceptionType

        Returns:
        The value of the exception property.
      • getStatus

        @Nullable
        public String getStatus()
        Gets the value of the status property.
        Returns:
        possible object is String
      • setStatus

        public void setStatus​(@Nullable
                              String value)
        Sets the value of the status property.
        Parameters:
        value - allowed object is String
      • getRequestId

        @Nullable
        public String getRequestId()
        Gets the value of the requestId property.
        Returns:
        possible object is String
      • setRequestId

        public void setRequestId​(@Nullable
                                 String value)
        Sets the value of the requestId property.
        Parameters:
        value - allowed object is String
      • setException

        public void setException​(@Nullable
                                 List<RegistryExceptionType> aList)
        Created by ph-jaxb-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • hasExceptionEntries

        public boolean hasExceptionEntries()
        Created by ph-jaxb-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoExceptionEntries

        public boolean hasNoExceptionEntries()
        Created by ph-jaxb-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getExceptionCount

        @Nonnegative
        public int getExceptionCount()
        Created by ph-jaxb-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addException

        public void addException​(@Nonnull
                                 RegistryExceptionType elem)
        Created by ph-jaxb-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • cloneTo

        public void cloneTo​(@Nonnull
                            RegistryResponseType ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public RegistryResponseType clone()
        Created by ph-jaxb-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Specified by:
        clone in class ExtensibleObjectType
        Returns:
        The cloned object. Never null.