Class AbstractSchemasHolder

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
de.captaingoldfish.scim.sdk.common.resources.AbstractSchemasHolder
All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, ScimNode, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>
Direct Known Subclasses:
BulkRequest, PatchOpRequest, ResourceNode, ScimResponse, SearchRequest

public abstract class AbstractSchemasHolder extends ScimObjectNode
author Pascal Knueppel
created at: 18.10.2019 - 18:52

an abstract implementation that simply adds methods for adding and getting the "schemas"-attribute
See Also:
  • Constructor Details

    • AbstractSchemasHolder

      public AbstractSchemasHolder()
  • Method Details

    • getSchemas

      public Set<String> getSchemas()
      Returns:
      the list of schemas witin this resource
    • setSchemas

      public void setSchemas(Set<String> schemas)
      adds a set of schemas to this resource
    • setSchemas

      public void setSchemas(List<String> schemas)
      adds a list of schemas to this resource
    • addSchema

      public void addSchema(String schemaUri)
      adds a single schema to this resource node
      Parameters:
      schemaUri - the uri to add
    • removeSchema

      public void removeSchema(String schemaUri)
      removes a single schema from this resource node
      Parameters:
      schemaUri - the uri to add