|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.sequencer.java.metadata.FieldMetadata
public class FieldMetadata
FieldMetadata is the base class of all fields.
Constructor Summary | |
---|---|
FieldMetadata()
|
Method Summary | |
---|---|
List<AnnotationMetadata> |
getAnnotations()
|
List<ModifierMetadata> |
getModifiers()
|
String |
getName()
|
String |
getType()
|
List<Variable> |
getVariables()
|
boolean |
hasModifierNamed(String modifierName)
|
boolean |
isArrayType()
Find out if a field is a array type or not. |
boolean |
isParameterizedType()
Find out if a field is a parameterized type or not. |
boolean |
isPrimitiveType()
Find out if a field is primitive type or not. |
boolean |
isQualifiedType()
Find out if a field is a qualified type or not. |
boolean |
isSimpleType()
Find out if a field is a simple type or not. |
boolean |
isWildcardType()
Find out if a field is a wild card type or not. |
void |
setModifiers(List<ModifierMetadata> modifierMetadatas)
|
void |
setName(String name)
|
void |
setType(String type)
|
void |
setVariables(List<Variable> variables)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldMetadata()
Method Detail |
---|
public List<AnnotationMetadata> getAnnotations()
public List<Variable> getVariables()
public void setVariables(List<Variable> variables)
variables
- Sets variables to the specified value.public String getType()
public void setType(String type)
type
- Sets type to the specified value.public String getName()
public void setName(String name)
name
- the new name for the fieldpublic List<ModifierMetadata> getModifiers()
public void setModifiers(List<ModifierMetadata> modifierMetadatas)
modifierMetadatas
- Sets modifierMetadatas to the specified value.public boolean hasModifierNamed(String modifierName)
modifierName
- the name of the modifier to check for
public boolean isPrimitiveType()
public boolean isSimpleType()
public boolean isArrayType()
public boolean isQualifiedType()
public boolean isParameterizedType()
public boolean isWildcardType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |