Class ToOnePropertyLiteral<T,​R>

    • Constructor Detail

      • ToOnePropertyLiteral

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

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

      • isManyValued

        public boolean isManyValued()
        Specified by:
        isManyValued in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​R>
      • asFunctionalProperty

        public OneValuedMetaProperty<T,​R> asFunctionalProperty()
        Specified by:
        asFunctionalProperty in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​R>
      • asManyValuedProperty

        public ManyValuedMetaProperty<T,​R,​Collection<R>> asManyValuedProperty()
        Specified by:
        asManyValuedProperty in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​R>