|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.FieldDescriptor
public class FieldDescriptor
I represent a field on an ejb. Either an actual field (e.g. for EJB1.1 CMP) or a virtual field (e.g. for EJb2.0 CMP)
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.Descriptor |
|---|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED |
| Constructor Summary | |
|---|---|
FieldDescriptor()
Constructrs an empty field descriptor |
|
FieldDescriptor(java.lang.reflect.Field field)
Constructs a field descriptor from the supplied java.lang.reflect.Field object. |
|
FieldDescriptor(java.lang.String name)
Constructrs a field descriptor with the given name. |
|
FieldDescriptor(java.lang.String name,
java.lang.String description)
Constructrs a field descriptor with the given name and description. |
|
| Method Summary | |
|---|---|
static void |
checkFieldName(java.lang.String fieldName)
Check if a field name is of an acceptable value (start with a lowercase letter) |
boolean |
equals(java.lang.Object object)
Equality iff the other objects is a field descriptor with the same name. |
int |
hashCode()
My hashcode. |
void |
print(java.lang.StringBuffer toStringBuffer)
Returns a formatted version of me as a String. |
| Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor |
|---|
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldDescriptor()
public FieldDescriptor(java.lang.String name)
public FieldDescriptor(java.lang.String name,
java.lang.String description)
public FieldDescriptor(java.lang.reflect.Field field)
| Method Detail |
|---|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void print(java.lang.StringBuffer toStringBuffer)
print in class Descriptor
public static void checkFieldName(java.lang.String fieldName)
throws java.lang.IllegalArgumentException
Check if a field name is of an acceptable value (start with a lowercase letter)
fieldName - is the field name to test
java.lang.IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||