org.kie.kogito.examples.DomainClassesMetadata471B42E068A21F8D5BEF529A54AE3B27 Maven / Gradle / Ivy
package org.kie.kogito.examples;
public class DomainClassesMetadata471B42E068A21F8D5BEF529A54AE3B27 {
public static final org.drools.model.DomainClassMetadata org_kie_kogito_examples_demo_Person_Metadata_INSTANCE = new org_kie_kogito_examples_demo_Person_Metadata();
private static class org_kie_kogito_examples_demo_Person_Metadata implements org.drools.model.DomainClassMetadata {
@Override
public Class> getDomainClass() {
return org.kie.kogito.examples.demo.Person.class;
}
@Override
public int getPropertiesSize() {
return 3;
}
@Override
public int getPropertyIndex( String name ) {
switch(name) {
case "adult": return 0;
case "age": return 1;
case "name": return 2;
}
throw new RuntimeException("Unknown property '" + name + "' for class class class org.kie.kogito.examples.demo.Person");
}
}
public static final org.drools.model.DomainClassMetadata org_kie_kogito_rules_DataStore_Metadata_INSTANCE = new org_kie_kogito_rules_DataStore_Metadata();
private static class org_kie_kogito_rules_DataStore_Metadata implements org.drools.model.DomainClassMetadata {
@Override
public Class> getDomainClass() {
return org.kie.kogito.rules.DataStore.class;
}
@Override
public int getPropertiesSize() {
return 0;
}
@Override
public int getPropertyIndex( String name ) {
switch(name) {
}
throw new RuntimeException("Unknown property '" + name + "' for class class interface org.kie.kogito.rules.DataStore");
}
}
}