Class CriteriaSchema

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

public class CriteriaSchema extends org.refcodes.mixin.AbstractSchema<CriteriaSchema> implements org.refcodes.mixin.AliasAccessor, 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(Class<?> aType, String aDescription, CriteriaSchema... aChildren)
    • CriteriaSchema

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

      public CriteriaSchema(Class<?> aType, String aAlias, String aDescription)
    • CriteriaSchema

      public CriteriaSchema(Class<?> aType, String aDescription)
    • CriteriaSchema

      public CriteriaSchema(CriteriaSchema aSchema, Class<?> aType)
      Instantiates a new CriteriaSchema.
      Parameters:
      aType - the a type
      aSchema - the a children
    • CriteriaSchema

      public CriteriaSchema(Class<?> aType, String aDescription, Object aValue, CriteriaSchema... aChildren)
      Instantiates a new CriteriaSchema.
      Parameters:
      aType - the a type
      aDescription - the a description
      aValue - the a value
      aChildren - the a children
    • CriteriaSchema

      public CriteriaSchema(Class<?> aType, String aAlias, String aDescription, Object aValue, CriteriaSchema... aChildren)
      Instantiates a new CriteriaSchema.
      Parameters:
      aType - the a type
      aAlias - the a alias
      aDescription - the a description
      aValue - the a value
      aChildren - the a children
    • CriteriaSchema

      public CriteriaSchema(Class<?> aType, String aAlias, String aDescription, Object aValue)
      Instantiates a new CriteriaSchema.
      Parameters:
      aType - the a type
      aAlias - the a alias
      aDescription - the a description
      aValue - the a value
    • CriteriaSchema

      public CriteriaSchema(Class<?> aType, String aAlias, String aDescription, CriteriaSchema aChild)
    • CriteriaSchema

      public CriteriaSchema(Class<?> aType, String aDescription, Object aValue)
      Instantiates a new CriteriaSchema.
      Parameters:
      aType - the a type
      aDescription - the a description
      aValue - the a value
    • CriteriaSchema

      public CriteriaSchema(CriteriaSchema aSchema, CriteriaSchema aChild)
    • CriteriaSchema

      public CriteriaSchema(CriteriaSchema aSchema, CriteriaSchema... aChildren)
    • CriteriaSchema

      public CriteriaSchema(CriteriaSchema aSchema)
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.refcodes.mixin.DescriptionAccessor
    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface org.refcodes.mixin.AliasAccessor
    • getValue

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