Class CometIdInfo

java.lang.Object
com.priint.pubserver.comet.config.CometIdInfo

public class CometIdInfo extends 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 Details

    • CometIdInfo

      public CometIdInfo(int id, String path, 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, String path, Class<?> clazz, CometIdInfo.Type type, 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 Details

    • conflicts

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

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

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

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

      public Class<?> getClazz()
      Gets the clazz.
      Returns:
      the clazz
    • getType

      public CometIdInfo.Type getType()
      Gets the type.
      Returns:
      the type
    • getId

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

      public String getFieldName()
      Gets the field name.
      Returns:
      the field name
    • getReferenceBinding

      public ReferenceBinding getReferenceBinding()
      ReferenceBinding Gets the reference binding.
      Returns:
      the reference binding
      See Also: