public class TypeFieldDescr extends AnnotatedBaseDescr implements Comparable<TypeFieldDescr>
| Constructor and Description |
|---|
TypeFieldDescr() |
TypeFieldDescr(String fieldName) |
TypeFieldDescr(String fieldName,
PatternDescr pat) |
| Modifier and Type | Method and Description |
|---|---|
TypeFieldDescr |
cloneAsInherited() |
int |
compareTo(TypeFieldDescr other) |
String |
getFieldName() |
int |
getIndex() |
String |
getInitExpr() |
PatternDescr |
getPattern() |
boolean |
isInherited() |
boolean |
isRecursive() |
void |
readExternal(ObjectInput in) |
void |
setFieldName(String fieldName) |
void |
setIndex(int index) |
void |
setInherited(boolean inherited) |
void |
setInitExpr(String initExpr) |
void |
setPattern(PatternDescr pattern) |
void |
setRecursive(boolean recursive) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQNcopyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, setEndCharacter, setEndLocation, setLocation, setNamespace, setResource, setStartCharacter, setTextpublic TypeFieldDescr()
public TypeFieldDescr(String fieldName)
public TypeFieldDescr(String fieldName, PatternDescr pat)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AnnotatedBaseDescrIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AnnotatedBaseDescrIOExceptionpublic String getFieldName()
public void setFieldName(String fieldName)
fieldName - the identifier to setpublic String getInitExpr()
public void setInitExpr(String initExpr)
initExpr - the initExpr to setpublic PatternDescr getPattern()
public void setPattern(PatternDescr pattern)
pattern - the pattern to setpublic int compareTo(TypeFieldDescr other)
compareTo in interface Comparable<TypeFieldDescr>public int getIndex()
public void setIndex(int index)
public boolean isInherited()
public void setInherited(boolean inherited)
public TypeFieldDescr cloneAsInherited()
public boolean isRecursive()
public void setRecursive(boolean recursive)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.