Class ClassificationMatchImpl
- Object
-
- EntityImpl
-
- ResourceImpl
-
- ClassificationMatchImpl
-
- All Implemented Interfaces:
ClassificationMatch
,Entity
,Resource
,Serializable
public class ClassificationMatchImpl extends ResourceImpl implements ClassificationMatch
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClassificationMatchImpl.Builder
-
Constructor Summary
Constructors Constructor Description ClassificationMatchImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClassificationMatchImpl.Builder
builder()
boolean
equals(Object o)
NamedResourceReference
getAsset()
Returns the classified asset.Classification
getClassification()
Returns the data classification for the asset.double
getConfidence()
Returns the confidence in which the asset was classified.String
getStatus()
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
setStatus(String status)
String
toString()
-
-
-
Method Detail
-
getStatus
public String 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
public Classification getClassification()
Description copied from interface:ClassificationMatch
Returns the data classification for the asset.- Specified by:
getClassification
in interfaceClassificationMatch
- Returns:
- the data classification
-
setStatus
public void setStatus(String status)
-
setConfidence
public void setConfidence(double confidence)
-
setAsset
public void setAsset(NamedResourceReference asset)
-
setClassification
public void setClassification(Classification classification)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classEntityImpl
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classEntityImpl
-
toString
public String toString()
- Overrides:
toString
in classResourceImpl
-
builder
public static ClassificationMatchImpl.Builder builder()
-
-