Class ToManyPropertyLiteral<T,​R>

    • Constructor Detail

      • ToManyPropertyLiteral

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

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

      • set

        public abstract void set​(T o,
                                 List<R> values)
      • isManyValued

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

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

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