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<MetaProperty<T,,R, List<R>>> Identifiable,ManyValuedMetaProperty<T,,R, List<R>> 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:
-
Constructor Summary
ConstructorsConstructorDescriptionToManyPropertyLiteral(int index, Class<T> klass, String name) ToManyPropertyLiteral(int index, String name, URI key) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract voidvoidvoidMethods inherited from class org.drools.traits.core.metadata.PropertyLiteral
compareTo, equals, getId, getIndex, getKey, getName, getUri, hashCode, isDatatypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.drools.traits.core.metadata.Identifiable
getId, getUriMethods inherited from interface org.drools.traits.core.metadata.ManyValuedMetaProperty
getMethods inherited from interface org.drools.traits.core.metadata.MetaProperty
getIndex, getKey, getName, isDatatype
-
Constructor Details
-
ToManyPropertyLiteral
-
ToManyPropertyLiteral
-
-
Method Details
-
set
-
set
-
set
-
isManyValued
public boolean isManyValued()- Specified by:
isManyValuedin interfaceMetaProperty<T,R, List<R>>
-
asFunctionalProperty
- Specified by:
asFunctionalPropertyin interfaceMetaProperty<T,R, List<R>>
-
asManyValuedProperty
- Specified by:
asManyValuedPropertyin interfaceMetaProperty<T,R, List<R>>
-