Class CometIdInfo
- java.lang.Object
-
- com.priint.pubserver.comet.config.CometIdInfo
-
public class CometIdInfo extends java.lang.ObjectInformation 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCometIdInfo.TypeThe Enum Type.
-
Constructor Summary
Constructors Constructor Description 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.CometIdInfo(int id, java.lang.String path, java.lang.Class<?> clazz, ReferenceBinding referenceBinding)Instantiates a new comet id info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconflicts(java.lang.Class<?> clazz)Conflicts.java.lang.Class<?>getClazz()Gets the clazz.java.lang.StringgetDetailedInfo()Gets the detailed info.java.lang.StringgetFieldName()Gets the field name.intgetId()Gets the id.java.lang.StringgetPath()Gets the path.ReferenceBindinggetReferenceBinding()ReferenceBindingGets the reference binding.java.lang.StringgetShortInfo()Gets the short info.CometIdInfo.TypegetType()Gets the type.
-
-
-
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 idpath- the pathclazz- the clazzreferenceBinding- 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 idpath- the pathclazz- the clazztype- the typename- the namereferenceBinding- 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
-
getType
public CometIdInfo.Type getType()
Gets the type.- Returns:
- the type
-
getId
public int getId()
Gets the id.- Returns:
- the id
-
getFieldName
public java.lang.String getFieldName()
Gets the field name.- Returns:
- the field name
-
getReferenceBinding
public ReferenceBinding getReferenceBinding()
ReferenceBindingGets the reference binding.- Returns:
- the reference binding
- See Also:
ReferenceBinding
-
-