Package com.adobe.aem.dermis.model
Class CombinedSchema
- java.lang.Object
-
- com.adobe.aem.dermis.model.CombinedSchema
-
- All Implemented Interfaces:
ICombinedSchema,java.io.Serializable
public class CombinedSchema extends java.lang.Object implements ICombinedSchema, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CombinedSchema(CombinedSchemaType type)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
CombinedSchema
public CombinedSchema(CombinedSchemaType type) throws DermisException
- Throws:
DermisException
-
-
Method Detail
-
getType
public CombinedSchemaType getType()
Returns the type of combined schema (i.e. AnyOf or AllOf or OneOf)- Specified by:
getTypein interfaceICombinedSchema- Returns:
-
addSchema
public void addSchema(IAsset schema) throws DermisException
Adds the given schema to list of schemas already present in the combination- Specified by:
addSchemain interfaceICombinedSchema- Throws:
DermisException
-
getSchemas
public java.util.List<IAsset> getSchemas()
Description copied from interface:ICombinedSchemaReturns the list of schemas for this combination- Specified by:
getSchemasin interfaceICombinedSchema- Returns:
-
-