Class CriteriaSchema

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.refcodes.mixin.AbstractSchema
org.refcodes.criteria.CriteriaSchema
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.ChildrenAccessor<org.refcodes.mixin.Schema[]>, org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.Schema, org.refcodes.mixin.TypeAccessor, org.refcodes.mixin.ValueAccessor<Object>

public class CriteriaSchema extends org.refcodes.mixin.AbstractSchema implements org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.ValueAccessor<Object>
The purpose of a CriteriaSchema is automatically generate documentation of Criteria structures.
See Also:
  • Constructor Details

    • CriteriaSchema

      public CriteriaSchema(String aAlias, Class<?> aType, String aDescription, org.refcodes.mixin.Schema... aChildren)
    • CriteriaSchema

      public CriteriaSchema(CriteriaSchema aSchema, org.refcodes.mixin.Schema... aChildren)
    • CriteriaSchema

      public CriteriaSchema(Class<?> aType, CriteriaSchema aSchema)
    • CriteriaSchema

      public CriteriaSchema(String aAlias, Class<?> aType, Object aValue, String aDescription)
      Instantiates a new CriteriaSchema.
      Parameters:
      aAlias - The alias (name) of the schema described by the Schema providing type.
      aType - The type providing the this Schema instance.
      aValue - The a value of the according element.
      aDescription - The description of the schema described by the Schema providing type.
  • Method Details

    • getValue

      public Object getValue()
      Specified by:
      getValue in interface org.refcodes.mixin.ValueAccessor<Object>