Package org.drools.traits.core.metadata
Class ToOnePropertyLiteral<T,R>
java.lang.Object
org.drools.traits.core.metadata.PropertyLiteral<T,R,R>
org.drools.traits.core.metadata.ToOnePropertyLiteral<T,R>
- All Implemented Interfaces:
Serializable,Comparable<MetaProperty<T,,R, R>> Identifiable,MetaProperty<T,,R, R> OneValuedMetaProperty<T,R>
- Direct Known Subclasses:
ManyToOnePropertyLiteral,OneToOnePropertyLiteral
public abstract class ToOnePropertyLiteral<T,R>
extends PropertyLiteral<T,R,R>
implements OneValuedMetaProperty<T,R>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionToOnePropertyLiteral(int index, Class<T> klass, String name) ToOnePropertyLiteral(int index, String name, URI key) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract voidvoidMethods 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.MetaProperty
getIndex, getKey, getName, isDatatypeMethods inherited from interface org.drools.traits.core.metadata.OneValuedMetaProperty
get
-
Constructor Details
-
ToOnePropertyLiteral
-
ToOnePropertyLiteral
-
-
Method Details
-
set
- Specified by:
setin interfaceOneValuedMetaProperty<T,R>
-
set
- Specified by:
setin interfaceOneValuedMetaProperty<T,R>
-
isManyValued
public boolean isManyValued()- Specified by:
isManyValuedin interfaceMetaProperty<T,R, R>
-
asFunctionalProperty
- Specified by:
asFunctionalPropertyin interfaceMetaProperty<T,R, R>
-
asManyValuedProperty
- Specified by:
asManyValuedPropertyin interfaceMetaProperty<T,R, R>
-