org.kie.workbench.common.services.datamodel.model
Class ModelField
java.lang.Object
org.kie.workbench.common.services.datamodel.model.ModelField
@Portable
public class ModelField
- extends Object
ModelField
public ModelField()
ModelField
public ModelField(String name,
String clazz,
ModelField.FIELD_CLASS_TYPE fieldClassType,
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.accessorsAndMutators - 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()
getAccessorsAndMutators
public FieldAccessorsAndMutators getAccessorsAndMutators()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.