Package org.drools.traits.core.metadata
Class ClassLiteral<T>
- java.lang.Object
-
- org.drools.traits.core.metadata.ClassLiteral<T>
-
- All Implemented Interfaces:
Serializable,Identifiable,MetaClass<T>
public abstract class ClassLiteral<T> extends Object implements MetaClass<T>, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected URIkeyprotected org.drools.traits.core.metadata.MetaProperty<T,?,?>[]propertiesprotected List<String>propertyNames
-
Constructor Summary
Constructors Constructor Description ClassLiteral(org.drools.traits.core.metadata.MetaProperty<T,?,?>[] propertyLiterals)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcachePropertyNames()ObjectgetId()org.drools.traits.core.metadata.MetaProperty<T,?,?>[]getProperties()intgetPropertyIndex(org.drools.traits.core.metadata.MetaProperty prop)abstract Class<T>getTargetClass()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.traits.core.metadata.Identifiable
getUri
-
-
-
-
Constructor Detail
-
ClassLiteral
public ClassLiteral(org.drools.traits.core.metadata.MetaProperty<T,?,?>[] propertyLiterals)
-
-
Method Detail
-
cachePropertyNames
protected abstract void cachePropertyNames()
-
getProperties
public org.drools.traits.core.metadata.MetaProperty<T,?,?>[] getProperties()
- Specified by:
getPropertiesin interfaceMetaClass<T>
-
getPropertyIndex
public int getPropertyIndex(org.drools.traits.core.metadata.MetaProperty prop)
- Specified by:
getPropertyIndexin interfaceMetaClass<T>
-
getId
public Object getId()
- Specified by:
getIdin interfaceIdentifiable
-
-