Class Marker
- java.lang.Object
-
- com._1c.g5.v8.dt.validation.marker.Marker
-
- Direct Known Subclasses:
BmObjectMarker
,PlainEObjectMarker
public abstract class Marker extends Object
Abstract representation of Bm model markers
-
-
Field Summary
Fields Modifier and Type Field Description static int
EMPTY_FEATURE_ID
The empty feature id constant.
-
Constructor Summary
Constructors Constructor Description Marker()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description long
getCreatedAt()
Gets created at.Map<String,String>
getExtraInfo()
Gets extra info.int
getFeatureId()
Gets the feature identifier.abstract String
getMarkerId()
Gets marker id.String
getMessage()
Gets message.MarkerSeverity
getSeverity()
Gets severity.String
getSource()
Gets source.void
setCreatedAt(long createdAt)
Sets created at.void
setExtraInfo(Map<String,String> extraInfo)
Sets extra info.void
setFeatureId(int featureId)
Sets the feature identifier.void
setMessage(String message)
Sets message.void
setSeverity(MarkerSeverity severity)
Sets severity.void
setSource(String source)
Sets source.
-
-
-
Field Detail
-
EMPTY_FEATURE_ID
public static final int EMPTY_FEATURE_ID
The empty feature id constant.- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreatedAt
public long getCreatedAt()
Gets created at.- Returns:
- the createdAt
-
getMessage
public String getMessage()
Gets message.- Returns:
- the message
-
getSeverity
public MarkerSeverity getSeverity()
Gets severity.- Returns:
- the severity
-
getSource
public String getSource()
Gets source.- Returns:
- the source
-
setCreatedAt
public void setCreatedAt(long createdAt)
Sets created at.- Parameters:
createdAt
- the createdAt to set
-
setExtraInfo
public void setExtraInfo(Map<String,String> extraInfo)
Sets extra info.- Parameters:
extraInfo
- the extraInfo to set
-
setMessage
public void setMessage(String message)
Sets message.- Parameters:
message
- the message to set
-
setSeverity
public void setSeverity(MarkerSeverity severity)
Sets severity.- Parameters:
severity
- the severity to set
-
setSource
public void setSource(String source)
Sets source.- Parameters:
source
- the source to set
-
getFeatureId
public int getFeatureId()
Gets the feature identifier.- Returns:
- the feature identifier.
-
setFeatureId
public void setFeatureId(int featureId)
Sets the feature identifier.- Parameters:
featureId
- the feature identifier to set.
-
getMarkerId
public abstract String getMarkerId()
Gets marker id. Id should be unique for bm model- Returns:
- marker id, never
null
-
-