Package org.drools.traits.core.metadata
Class PropertyLiteral<T,R,C>
java.lang.Object
org.drools.traits.core.metadata.PropertyLiteral<T,R,C>
- All Implemented Interfaces:
Serializable,Comparable<MetaProperty<T,,R, C>> Identifiable,MetaProperty<T,R, C>
- Direct Known Subclasses:
InvertiblePropertyLiteral,ToManyPropertyLiteral,ToOnePropertyLiteral
public abstract class PropertyLiteral<T,R,C>
extends Object
implements MetaProperty<T,R,C>, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyLiteral(int index, Class<T> klass, String name) PropertyLiteral(int index, String name, URI key) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.traits.core.metadata.MetaProperty
asFunctionalProperty, asManyValuedProperty, get, isManyValued
-
Constructor Details
-
PropertyLiteral
-
PropertyLiteral
-
-
Method Details
-
isDatatype
public abstract boolean isDatatype()- Specified by:
isDatatypein interfaceMetaProperty<T,R, C>
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<T>
-
hashCode
public int hashCode() -
getIndex
public int getIndex()- Specified by:
getIndexin interfaceMetaProperty<T,R, C>
-
getName
- Specified by:
getNamein interfaceMetaProperty<T,R, C>
-
getKey
- Specified by:
getKeyin interfaceMetaProperty<T,R, C>
-
getUri
- Specified by:
getUriin interfaceIdentifiable
-
getId
- Specified by:
getIdin interfaceIdentifiable
-