addCodeSegment
public void addCodeSegment(CodeSegment codeSegment)
addField
public void addField(ModelField modelField)
addInterface
public void addInterface(String modelInterface)
getAllCodeSegments
public List getAllCodeSegments()
getAllFields
public List getAllFields()
Returns the list of all fields in this class.
It does not include the fields of super classes.
- Returns the list of all fields in this class. It does not include the
fields of super classes.
getAllFields
public List getAllFields(boolean withInheritedField)
Returns all the fields in this class and all super classes if withInheritedField equals to true.
- Returns all the fields in this class and all super classes.
getAllFields
public List getAllFields(Version version,
boolean withInheritedField)
getCodeSegments
public List getCodeSegments(Version version)
getCodeSegments
public List getCodeSegments(VersionRange versionRange)
getFields
public List getFields(Version version)
Returns the list of all fields in this class for a specific version.
It does not include the fields of super classes.
- Returns the list of all fields in this class. It does not include the
fields of super classes.
getIdentifierFields
public List getIdentifierFields(Version version)
getInterfaces
public List getInterfaces()
Returns the list of all interfaces of this class.
- Returns the list of all interfaces of this class.
getModel
public Model getModel()
getPackageName
public String getPackageName()
getPackageName
public String getPackageName(boolean withVersion,
Version version)
getSuperClass
public String getSuperClass()
hasField
public boolean hasField(String type,
Version version)
hasSuperClass
public boolean hasSuperClass()
initialize
public void initialize(Model model)
setPackageName
public void setPackageName(String packageName)
setSuperClass
public void setSuperClass(String superClass)