public abstract class MetadataContainer<T extends Metadatable> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected MetaClass |
metaClassInfo |
protected T |
target |
Constructor and Description |
---|
MetadataContainer(T metadatableObject) |
Modifier and Type | Method and Description |
---|---|
protected static String |
createObjectIdentifier(Object target) |
protected static String |
createObjectIdentifier(String classUri,
Object target) |
static URI |
getIdentifier(Object object) |
MetaClass<T> |
getMetaClassInfo() |
protected <T,R> org.drools.core.metadata.MetaProperty |
getProperty(int index) |
protected <T,R> org.drools.core.metadata.MetaProperty<T,R,?> |
getProperty(String name) |
protected T |
getTarget() |
List<org.drools.core.metadata.MetaProperty<T,?,?>> |
properties() |
String[] |
propertyNames() |
void |
setTarget(T target) |
protected transient T extends Metadatable target
protected MetaClass metaClassInfo
public MetadataContainer(T metadatableObject)
protected T getTarget()
public void setTarget(T target)
public String[] propertyNames()
protected <T,R> org.drools.core.metadata.MetaProperty<T,R,?> getProperty(String name)
protected <T,R> org.drools.core.metadata.MetaProperty getProperty(int index)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.