org.drools.ide.common.client.modeldriven
Class ModelField
java.lang.Object
org.drools.ide.common.client.modeldriven.ModelField
- All Implemented Interfaces:
- Serializable, PortableObject
public class ModelField
- extends Object
- implements PortableObject
- See Also:
- Serialized Form
ModelField
public ModelField()
ModelField
public ModelField(String name,
String clazz,
ModelField.FIELD_CLASS_TYPE fieldClassType,
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.type
- the type of the clazz.
getClassName
public String getClassName()
getName
public String getName()
getType
public String getType()
getClassType
public ModelField.FIELD_CLASS_TYPE getClassType()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.