Package org.drools.traits.core.metadata
Class ToManyPropertyLiteral<T,R>
- java.lang.Object
-
- org.drools.traits.core.metadata.PropertyLiteral<T,R,List<R>>
-
- org.drools.traits.core.metadata.ToManyPropertyLiteral<T,R>
-
- All Implemented Interfaces:
Serializable,Comparable<org.drools.traits.core.metadata.MetaProperty<T,R,List<R>>>,Identifiable,ManyValuedMetaProperty<T,R,List<R>>,org.drools.traits.core.metadata.MetaProperty<T,R,List<R>>
- Direct Known Subclasses:
ManyToManyPropertyLiteral,OneToManyPropertyLiteral
public abstract class ToManyPropertyLiteral<T,R> extends PropertyLiteral<T,R,List<R>> implements ManyValuedMetaProperty<T,R,List<R>>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToManyPropertyLiteral(int index, Class<T> klass, String name)ToManyPropertyLiteral(int index, String name, URI key)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OneValuedMetaProperty<T,List<R>>asFunctionalProperty()ManyValuedMetaProperty<T,R,List<R>>asManyValuedProperty()booleanisManyValued()abstract voidset(T o, List<R> values)voidset(T o, List<R> values, Lit mode)voidset(T o, R value, Lit mode)-
Methods inherited from class org.drools.traits.core.metadata.PropertyLiteral
compareTo, equals, getId, getIndex, getKey, getName, getUri, hashCode, isDatatype
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.drools.traits.core.metadata.Identifiable
getId, getUri
-
Methods inherited from interface org.drools.traits.core.metadata.ManyValuedMetaProperty
get
-
-