public class TypeModel extends GenericElementModel implements ITypeModel
TypeModel class.
| Constructor and Description |
|---|
TypeModel(TypeModelRegistry registry)
Constructor for TypeModel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addField(IFieldModel fieldModel)
addField.
|
void |
addMethod(IMethodModel method)
addMethod.
|
boolean |
equals(Object obj) |
IFieldModel[] |
getFields() |
String |
getFullyQualifiedName()
getFullyQualifiedName.
|
ITypeModel[] |
getImplementedInterfaces() |
IMethodModel[] |
getMethods()
Getter for the field
methods. |
ITypeModel |
getSuperClass() |
int |
hashCode() |
ITypeModel |
resolveClass(String qualifiedName) |
void |
setFullyQualifiedName(String qualifiedName)
setFullyQualifiedName.
|
void |
setImplementedInterfaces(ITypeModel[] implementedIntefaces) |
void |
setSuperClass(ITypeModel superClass) |
getTypeParameters, setTypeParametersaddAnnotation, addJaxbType, getAnnotation, getAnnotationByCanonicalName, getAnnotations, getAnnotationValue, getAnnotationValues, getDocumentation, getJavaType, getJAXBTypes, getName, getType, hasAnnotation, hasAnnotationWithCanonicalName, isCollection, isMap, isPublic, isStatic, setCollection, setDocumentation, setJavaClass, setMap, setName, setPublic, setStaticclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotationByCanonicalName, getAnnotations, getAnnotationValue, getAnnotationValues, getDocumentation, getName, hasAnnotation, hasAnnotationWithCanonicalNamegetTypeParameterspublic TypeModel(TypeModelRegistry registry)
Constructor for TypeModel.
public IMethodModel[] getMethods()
Getter for the field methods.
getMethods in interface ITypeModelIMethodModel objects.public void addMethod(IMethodModel method)
addMethod.
method - a IMethodModel object.public String getFullyQualifiedName()
getFullyQualifiedName.
getFullyQualifiedName in interface ITypeModelString object.public void setFullyQualifiedName(String qualifiedName)
setFullyQualifiedName.
qualifiedName - a String object.public int hashCode()
hashCode in class BasicModelpublic boolean equals(Object obj)
equals in class BasicModelpublic IFieldModel[] getFields()
getFields in interface ITypeModelpublic void addField(IFieldModel fieldModel)
addField.
fieldModel - a IFieldModel object.public ITypeModel getSuperClass()
getSuperClass in interface ITypeModelpublic ITypeModel[] getImplementedInterfaces()
getImplementedInterfaces in interface ITypeModelpublic void setSuperClass(ITypeModel superClass)
public void setImplementedInterfaces(ITypeModel[] implementedIntefaces)
public ITypeModel resolveClass(String qualifiedName)
resolveClass in interface ITypeModelCopyright © 2015 Mulesoft. All rights reserved.