Class CometIdInfo


  • public class CometIdInfo
    extends java.lang.Object

    Information about a CometId usage (which configuration file, fieldName etc.). This class is mainly used for configuration check and repair methods and for input validation for configuration updates or imports.

    • Constructor Detail

      • CometIdInfo

        public CometIdInfo​(int id,
                           java.lang.String path,
                           java.lang.Class<?> clazz,
                           ReferenceBinding referenceBinding)
        Instantiates a new comet id info.
        Parameters:
        id - the id
        path - the path
        clazz - the clazz
        referenceBinding - the reference binding
      • CometIdInfo

        public CometIdInfo​(int id,
                           java.lang.String path,
                           java.lang.Class<?> clazz,
                           CometIdInfo.Type type,
                           java.lang.String name,
                           ReferenceBinding referenceBinding)
        Instantiates a new comet id info.
        Parameters:
        id - the id
        path - the path
        clazz - the clazz
        type - the type
        name - the name
        referenceBinding - the reference binding
    • Method Detail

      • conflicts

        public boolean conflicts​(java.lang.Class<?> clazz)
        Conflicts.
        Parameters:
        clazz - the clazz
        Returns:
        true, if successful
      • getDetailedInfo

        public java.lang.String getDetailedInfo()
        Gets the detailed info.
        Returns:
        the detailed info
      • getShortInfo

        public java.lang.String getShortInfo()
        Gets the short info.
        Returns:
        the short info
      • getPath

        public java.lang.String getPath()
        Gets the path.
        Returns:
        the path
      • getClazz

        public java.lang.Class<?> getClazz()
        Gets the clazz.
        Returns:
        the clazz
      • getId

        public int getId()
        Gets the id.
        Returns:
        the id
      • getFieldName

        public java.lang.String getFieldName()
        Gets the field name.
        Returns:
        the field name