org.drools.ide.common.client.modeldriven
Class ModelField

java.lang.Object
  extended by org.drools.ide.common.client.modeldriven.ModelField
All Implemented Interfaces:
Serializable, PortableObject

public class ModelField
extends Object
implements PortableObject

See Also:
Serialized Form

Nested Class Summary
static class ModelField.FIELD_CLASS_TYPE
           
 
Constructor Summary
ModelField()
           
ModelField(String name, String clazz, ModelField.FIELD_CLASS_TYPE fieldClassType, String type)
          Creates a new ModelField instance
 
Method Summary
 String getClassName()
           
 ModelField.FIELD_CLASS_TYPE getClassType()
           
 String getName()
           
 String getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 name
clazz - the class of the field. For fields defined as a type declaration
fieldClassType - 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.
Method Detail

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.