Interface ScimResource

    • Method Detail

      • getMeta

        Meta getMeta()
        Gets metadata about the object.
        Returns:
        Meta containing metadata about the object.
      • setMeta

        void setMeta​(Meta meta)
        Sets metadata for the object.
        Parameters:
        meta - Meta containing metadata for the object.
      • getId

        String getId()
        Gets the id of the object.
        Returns:
        the id of the object.
      • setId

        void setId​(String id)
        Sets the id of the object.
        Parameters:
        id - The object's id.
      • getExternalId

        String getExternalId()
        Gets the objects external id.
        Returns:
        The external id of the object.
      • setExternalId

        void setExternalId​(String externalId)
        Sets the object's external id.
        Parameters:
        externalId - The external id of the object.
      • getSchemaUrns

        Collection<StringgetSchemaUrns()
        Gets the schema urns for this object. This includes the one for the class that extends this class (taken from the annotation), as well as any that are present in the extensions.
        Returns:
        the schema urns for this object.
      • setSchemaUrns

        void setSchemaUrns​(Collection<String> schemaUrns)
        Sets the schema urns for this object. This set should contain all schema urns including the one for this object and all extensions. The value must not be null.
        Parameters:
        schemaUrns - A Collection containing the schema urns for this object.
      • setSchemaUrns

        void setSchemaUrns​(String schemaUrn,
                           String... schemaUrns)
        An alternate version of setSchemaUrns(Collection).
        Parameters:
        schemaUrn - A schema URN that will be listed first. This must not be null.
        schemaUrns - An optional parameter for additional schema URNs. Any null values will be ignored.
      • asGenericScimResource

        GenericScimResource asGenericScimResource()
        Returns the GenericScimResource representation of this ScimResource. If this ScimResource is already a GenericScimResource, this same instance will be returned.
        Returns:
        The GenericScimResource representation of this ScimResource.