public class AssetClassification extends AssetPropertyBase
| Modifier and Type | Field and Description |
|---|---|
protected ElementClassification |
classificationBean |
parentAsset| Modifier | Constructor and Description |
|---|---|
|
AssetClassification(AssetDescriptor parentAsset,
AssetClassification templateClassification)
Copy/clone Constructor sets up new classification using values from the template
|
protected |
AssetClassification(AssetDescriptor parentAsset,
ElementClassification classification)
Bean constructor with parent asset
|
protected |
AssetClassification(ElementClassification classification)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
protected ElementClassification |
getClassificationBean()
Return the classification bean.
|
String |
getName()
Return the name of the classification
|
Map<String,Object> |
getProperties()
Returns a collection of the additional stored properties for the classification.
|
int |
hashCode()
Create a hash code for this element type.
|
String |
toString()
Standard toString method.
|
getParentAsset, getParentAssetName, getParentAssetTypeNameprotected ElementClassification classificationBean
protected AssetClassification(ElementClassification classification)
classification - bean containing the propertiesprotected AssetClassification(AssetDescriptor parentAsset, ElementClassification classification)
parentAsset - details of the asset that this classification is linked to.classification - bean containing the propertiespublic AssetClassification(AssetDescriptor parentAsset, AssetClassification templateClassification)
parentAsset - details of the asset that this classification is linked to.templateClassification - object to copyprotected ElementClassification getClassificationBean()
public String getName()
public Map<String,Object> getProperties()
public String toString()
public boolean equals(Object objectToCompare)
equals in class AssetPropertyBaseobjectToCompare - supplied objectpublic int hashCode()
hashCode in class AssetPropertyBaseCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.