javax.xml.registry.infomodel

Interface Organization

  • All Superinterfaces:
    ExtensibleObject, RegistryObject

    public interface Organization
    extends RegistryObject
    Organization instances provide information on organizations such as a Submitting Organization. Each Organization instance may have a reference to a parent Organization. In addition it may have a contact attribute defining the primary contact within the organization. An Organization also has an address attribute.
    Author:
    Farrukh S. Najmi
    See Also:
    Service
    • Method Detail

      • getPostalAddress

        PostalAddress getPostalAddress()
                                throws JAXRException
        Gets the Address for this Organization.

        Capability Level: 1
        Returns:
        the PostalAddress for this Organization
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setPostalAddress

        void setPostalAddress(PostalAddress address)
                       throws JAXRException
        Sets the address for this Organization.

        Capability Level: 1
        Parameters:
        address - the PostalAddress for this Organization
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getPrimaryContact

        User getPrimaryContact()
                        throws JAXRException
        Gets the primary Contact for this Organization. The primary contact is one of the Users of the Organization, as returned by the getUsers call on an Organization instance.

        Capability Level: 0
        Returns:
        the User that is the primary Contact for this Organization. Must not be null
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setPrimaryContact

        void setPrimaryContact(User primaryContact)
                        throws JAXRException
        Sets the primary contact for this Organization. If the primary contact is not in the existing Collection of User instances for this object then it must be added to that Collection. If the primary contact is already in the existing Collection of User instances for this object, then it should not be added to the Users collection as a duplicate entry. In either case, the primary contact is a distinguished User instance within the Collection of User instances for this Object.

        Capability Level: 0
        Parameters:
        primaryContact - the User that is the primary Contact for this Organization
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addUser

        void addUser(User user)
              throws JAXRException
        Adds a User.

        Capability Level: 0
        Parameters:
        user - the User being added to this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addUsers

        void addUsers(Collection users)
               throws JAXRException
        Adds a Collection of Users.

        Capability Level: 0
        Parameters:
        users - the Collection of Users being added to this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeUser

        void removeUser(User user)
                 throws JAXRException
        Removes a User.

        Capability Level: 0
        Parameters:
        user - the User being removed from this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeUsers

        void removeUsers(Collection users)
                  throws JAXRException
        Removes a Collection of Users.

        Capability Level: 0
        Parameters:
        users - the Collection of Users being removed from this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getUsers

        Collection getUsers()
                     throws JAXRException
        Gets the Collection of Users affiliated with this Organization. One of these users is designated as the primary contact.

        Capability Level: 0
        Returns:
        Collection of User instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        User
      • getTelephoneNumbers

        Collection getTelephoneNumbers(String phoneType)
                                throws JAXRException
        Gets the telephone numbers for this User that match the specified telephone number type. If phoneType is null return all telephoneNumbers.

        Capability Level: 0
        Parameters:
        phoneType - a String that specifies the type of phone numbers desired
        Returns:
        Collection of TelephoneNumber instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        TelephoneNumber
      • setTelephoneNumbers

        void setTelephoneNumbers(Collection phoneNumbers)
                          throws JAXRException
        Sets the various telephone numbers for this user.

        Capability Level: 0
        Parameters:
        phoneNumbers - the TelephoneNumbers being set for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addService

        void addService(Service service)
                 throws JAXRException
        Adds a child Service.

        Capability Level: 0
        Parameters:
        service - the Service being added to this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addServices

        void addServices(Collection services)
                  throws JAXRException
        Adds a Collection of Service children.

        Capability Level: 0
        Parameters:
        services - the Collection of Services being added to this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeService

        void removeService(Service service)
                    throws JAXRException
        Removes a Service from this object.

        Capability Level: 0
        Parameters:
        service - the Service being removed from this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeServices

        void removeServices(Collection services)
                     throws JAXRException
        Removes a Collection of children Services from this object.

        Capability Level: 0
        Parameters:
        services - the Collection of Services being removed from this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getServices

        Collection getServices()
                        throws JAXRException
        Gets all children Services.

        Capability Level: 0
        Returns:
        Collection of Service instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Service
      • addChildOrganization

        void addChildOrganization(Organization organization)
                           throws JAXRException
        Adds a child Organization.

        Capability Level: 1
        Parameters:
        organization - the child Organization being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addChildOrganizations

        void addChildOrganizations(Collection organizations)
                            throws JAXRException
        Adds a Collection of Organization children.

        Capability Level: 1
        Parameters:
        organizations - the Collection of child Organizations being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeChildOrganization

        void removeChildOrganization(Organization organization)
                              throws JAXRException
        Removes a child Organization.

        Capability Level: 1
        Parameters:
        organization - the child Organization being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeChildOrganizations

        void removeChildOrganizations(Collection organizations)
                               throws JAXRException
        Removes a Collection of children Organizations.

        Capability Level: 1
        Parameters:
        organizations - the Collection of child Organizations being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getChildOrganizationCount

        int getChildOrganizationCount()
                               throws JAXRException
        Gets number of children.

        Capability Level: 1
        Returns:
        the number of children Organizations
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getChildOrganizations

        Collection getChildOrganizations()
                                  throws JAXRException
        Gets all immediate children Organizations.

        Capability Level: 1
        Returns:
        Collection of Organization instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Organization
      • getDescendantOrganizations

        Collection getDescendantOrganizations()
                                       throws JAXRException
        Gets all descendant Organizations.

        Capability Level: 1
        Returns:
        Collection of Organization instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Organization
      • getParentOrganization

        Organization getParentOrganization()
                                    throws JAXRException
        Gets the parent (container) organization.

        Capability Level: 1
        Returns:
        the parent Organization or null if object has no parent Organization
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getRootOrganization

        Organization getRootOrganization()
                                  throws JAXRException
        Gets the root organization.

        Capability Level: 1
        Returns:
        the root Organization or null if object has no parent Organization
        Throws:
        JAXRException - If the JAXR provider encounters an internal error

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/xml/registry/infomodel/Organization.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com, Organization (Java(TM) EE 7 Specification APIs)

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.