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 void
addSchema(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 combinationCombinedSchemaType
getType()
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:
getType
in 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:
addSchema
in interfaceICombinedSchema
- Throws:
DermisException
-
getSchemas
public java.util.List<IAsset> getSchemas()
Description copied from interface:ICombinedSchema
Returns the list of schemas for this combination- Specified by:
getSchemas
in interfaceICombinedSchema
- Returns:
-
-