Package org.europa.together.domain
Class AnnotatedClass
- java.lang.Object
-
- org.europa.together.domain.AnnotatedClass
-
@FeatureToggle(featureID="CM-0013.DO02") public class AnnotatedClass extends Object
Data structure to storage annotated FeatureToggle elements. Implements the functionality to compare and sort the elements to process a code generation. Classname & constructor name are the same. Types: CLASS | ENUM | CONSTRUCTOR | METHOD
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMethodName(String methodName)
Extend the List of Methods.boolean
equals(Object object)
String
getClazzName()
Get the class.String
getMethodNames()
Get the method.String
getPackageName()
Get the package.String
getType()
Get the annotation type.int
hashCode()
String
toString()
void
updateAnnotationType(String newType)
Allows to update the annotation type of the collection.
-
-
-
Field Detail
-
CLASS
public static final String CLASS
- See Also:
- Constant Field Values
-
ENUM
public static final String ENUM
- See Also:
- Constant Field Values
-
CONSTRUCTOR
public static final String CONSTRUCTOR
- See Also:
- Constant Field Values
-
METHOD
public static final String METHOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
Get the annotation type.
CLASS | ENUM | CONSTRUCTOR | METHOD- Returns:
- annotation as String
-
getPackageName
public String getPackageName()
Get the package.- Returns:
- packageName as String
-
getClazzName
public String getClazzName()
Get the class.- Returns:
- clazzName as String
-
getMethodNames
public String getMethodNames()
Get the method.- Returns:
- methodName as String
-
addMethodName
public void addMethodName(String methodName)
Extend the List of Methods.- Parameters:
methodName
- as String
-
updateAnnotationType
public void updateAnnotationType(String newType)
Allows to update the annotation type of the collection. This is needed, when cunstructor and method elements exists and the collection item has the type of method. then it needed to change to a new type constructor.- Parameters:
newType
- as String
-
-