|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--dk.lec.idea.plugin.generate.FieldElement
This is a field element containing information about the field.
| Constructor Summary | |
FieldElement(java.lang.String name)
Constructor. |
|
| Method Summary | |
java.lang.String |
getName()
Get's the fields name. |
boolean |
isArray()
Is this field an array type? |
boolean |
isCollection()
Is this field a Collection type (isAssignableFrom java.util.Collection) |
boolean |
isConstant()
Is the field a constant type? |
boolean |
isMap()
Is this field a Map type (isAssignableFrom java.util.Map) |
boolean |
isObjectArray()
Returns true if the field is a non-primitive array type (e.g., String[], Object[]} etc.). |
boolean |
isPrimitive()
Is this field a primitive type |
boolean |
isPrimitiveArray()
Returns true if the field is a primitive array type (int[], long[], float[] etc.). |
boolean |
isString()
Is the field a String type? |
boolean |
isTransient()
Does the field have a transient modifier? |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FieldElement(java.lang.String name)
name - field name.| Method Detail |
public java.lang.String getName()
public boolean isArray()
public boolean isCollection()
Collection type (isAssignableFrom java.util.Collection)
Collection type.public boolean isMap()
Map type (isAssignableFrom java.util.Map)
Map type.public boolean isPrimitive()
public boolean isConstant()
public boolean isTransient()
public boolean isString()
String type?
public boolean isPrimitiveArray()
public boolean isObjectArray()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||