All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gold.scim.common.resources.AbstractSchemasHolder Maven / Gradle / Ivy

The newest version!
package de.gold.scim.common.resources;

import java.util.List;

import de.gold.scim.common.constants.AttributeNames;
import de.gold.scim.common.resources.base.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 */ public abstract class AbstractSchemasHolder extends ScimObjectNode { public AbstractSchemasHolder() { super(null); } /** * @return the list of schemas witin this resource */ public List getSchemas() { return getSimpleArrayAttribute(AttributeNames.RFC7643.SCHEMAS); } /** * adds a list of schemas to this resource */ public void setSchemas(List schemas) { setStringAttributeList(AttributeNames.RFC7643.SCHEMAS, schemas); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy