Package com.adobe.aem.dermis.model
Interface ICombinedSchema
-
- All Known Implementing Classes:
CombinedSchema
public interface ICombinedSchemaInterface for anyOf, allOf, oneOf as per JSON schema specification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSchema(IAsset schema)Adds the given schema to list of schemas already present in the combinationjava.util.List<IAsset>getSchemas()Returns the list of schemas for this combinationCombinedSchemaTypegetType()Returns the type of combined schema (i.e.
-
-
-
Method Detail
-
getType
CombinedSchemaType getType()
Returns the type of combined schema (i.e. AnyOf or AllOf or OneOf)- Returns:
-
addSchema
void addSchema(IAsset schema) throws DermisException
Adds the given schema to list of schemas already present in the combination- Parameters:
schema-- Throws:
DermisException
-
getSchemas
java.util.List<IAsset> getSchemas()
Returns the list of schemas for this combination- Returns:
-
-