Class ToOnePropertyLiteral<T,​R>

    • Constructor Detail

      • ToOnePropertyLiteral

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

        public ToOnePropertyLiteral​(int index,
                                    java.lang.String name,
                                    java.net.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,​java.util.Collection<R>> asManyValuedProperty()
        Specified by:
        asManyValuedProperty in interface org.drools.traits.core.metadata.MetaProperty<T,​R,​R>