org.drools.workbench.models.datamodel.oracle
Class ModelField
java.lang.Object
org.drools.workbench.models.datamodel.oracle.ModelField
public class ModelField
- extends Object
ModelField
public ModelField()
ModelField
public ModelField(String name,
String clazz,
ModelField.FIELD_CLASS_TYPE fieldClassType,
ModelField.FIELD_ORIGIN fieldOrigin,
FieldAccessorsAndMutators accessorsAndMutators,
String type)
- Creates a new ModelField instance
- Parameters:
name - field's nameclazz - the class of the field. For fields defined as a type declarationfieldClassType - tells if this is a field for a regular POJO class or for a object type declaration
this clazz should be null.fieldOrigin - gives info about this field's originaccessorsAndMutators - Whether the field has an Accessor, Mutator or bothtype - the type of the clazz.
getClassName
public String getClassName()
getName
public String getName()
getType
public String getType()
getClassType
public ModelField.FIELD_CLASS_TYPE getClassType()
getOrigin
public ModelField.FIELD_ORIGIN getOrigin()
getAccessorsAndMutators
public FieldAccessorsAndMutators getAccessorsAndMutators()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.