Class ClassificationMatchImpl
Object
EntityImpl
ResourceImpl
ClassificationMatchImpl
- All Implemented Interfaces:
ClassificationMatch
,Entity
,Resource
,Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
NamedResourceReference
getAsset()
Returns the classified asset.Returns the data classification for the asset.double
Returns the confidence in which the asset was classified.Returns the status of assignment of data class to the asset.int
hashCode()
void
setAsset
(NamedResourceReference asset) void
setClassification
(Classification classification) void
setConfidence
(double confidence) void
toString()
Methods inherited from class ResourceImpl
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem, setCreatedBy, setCreatedOn, setLastModifiedBy, setLastModifiedOn, setResourceType, setSystem
Methods inherited from class EntityImpl
getId, setId
Methods inherited from interface Entity
getId, setId
Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
Constructor Details
-
ClassificationMatchImpl
public ClassificationMatchImpl()
-
-
Method Details
-
getStatus
Description copied from interface:ClassificationMatch
Returns the status of assignment of data class to the asset.- Specified by:
getStatus
in interfaceClassificationMatch
- Returns:
- the classification status
-
getConfidence
public double getConfidence()Description copied from interface:ClassificationMatch
Returns the confidence in which the asset was classified.- Specified by:
getConfidence
in interfaceClassificationMatch
- Returns:
- the confidence number
-
getAsset
public NamedResourceReference getAsset()Description copied from interface:ClassificationMatch
Returns the classified asset.- Specified by:
getAsset
in interfaceClassificationMatch
- Returns:
- the classified asset
-
getClassification
Description copied from interface:ClassificationMatch
Returns the data classification for the asset.- Specified by:
getClassification
in interfaceClassificationMatch
- Returns:
- the data classification
-
setStatus
-
setConfidence
public void setConfidence(double confidence) -
setAsset
public void setAsset(NamedResourceReference asset) -
setClassification
-
equals
- Overrides:
equals
in classEntityImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEntityImpl
-
toString
- Overrides:
toString
in classResourceImpl
-
builder
-