Class PropertyLiteral<T,​R,​C>

    • Constructor Detail

      • PropertyLiteral

        public PropertyLiteral​(int index,
                               Class<T> klass,
                               String name)
      • PropertyLiteral

        public PropertyLiteral​(int index,
                               String name,
                               URI key)
    • Method Detail

      • isDatatype

        public abstract boolean isDatatype()
        Specified by:
        isDatatype in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​C>
      • compareTo

        public int compareTo​(org.drools.traits.core.metadata.MetaProperty<T,​R,​C> o)
        Specified by:
        compareTo in interface Comparable<T>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getIndex

        public int getIndex()
        Specified by:
        getIndex in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​C>
      • getName

        public String getName()
        Specified by:
        getName in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​C>
      • getKey

        public URI getKey()
        Specified by:
        getKey in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​C>