Class PropertySchema


  • public abstract class PropertySchema
    extends Object
    The schema class helps to build type safe and easy to use property schemas. It makes code using properties more readable and reliable.
    • Constructor Detail

      • PropertySchema

        public PropertySchema​(AQueryBuilder q,
                              String namespace)
        Create a new property schema.
        Parameters:
        q - a query builder
        namespace -
    • Method Detail

      • namespace

        public String namespace()
        Get the namespace of the schema.
      • hasPropertiesOfNamespace

        public Predicate hasPropertiesOfNamespace()
        Get a predicate that matches if a property of the schema's namespace exists.
      • allProperties

        public Target allProperties()
        Get a target to select all properties of the schema's namespace.