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 |
|---|---|
int |
compareTo(TypeFieldDescr other) |
String |
getFieldName() |
int |
getIndex() |
String |
getInitExpr() |
TypeFieldDescr |
getOverriding() |
PatternDescr |
getPattern() |
boolean |
hasOverride() |
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 |
setOverriding(TypeFieldDescr overriding) |
void |
setPattern(PatternDescr pattern) |
void |
setRecursive(boolean recursive) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
addAnnotation, addAnnotation, addAnnotation, addQualifiedAnnotation, getAnnotation, getAnnotation, getAnnotationNames, getAnnotations, getTypedAnnotation, hasAnnotation, indexByFQNaccept, copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, isNegated, negate, positionAsString, replaceVariable, 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 boolean isRecursive()
public void setRecursive(boolean recursive)
public boolean hasOverride()
public TypeFieldDescr getOverriding()
public void setOverriding(TypeFieldDescr overriding)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.