Class CodesManager


  • public class CodesManager
    extends Object
    To manage some verbatim code to inject in operations.
    Since:
    2.0.2
    Author:
    Tony Chemit - chemit@codelutin.com
    • Constructor Detail

      • CodesManager

        public CodesManager()
    • Method Detail

      • addCode

        public void addCode​(ObjectModelOperation operation,
                            String code)
        Add the annotation for the given element of the classifier.
        Parameters:
        operation - the operation on which add the code
        code - the code to add
      • getCode

        public String getCode​(ObjectModelOperation operation)
        Obtain the codes registred for a given operation of the classifier.
        Parameters:
        operation - the operation where to search for code
        Returns:
        the code for the operation (empty if none found)