public class AdditionalProperties extends AssetPropertyBase
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
additionalProperties |
parentAsset| Constructor and Description |
|---|
AdditionalProperties(AssetDescriptor parentAsset,
AdditionalProperties templateProperties)
Copy/clone Constructor for additional properties that are connected to an asset.
|
AdditionalProperties(AssetDescriptor parentAsset,
Map<String,String> additionalProperties)
Constructor for a new set of additional properties that are connected either directly or indirectly to an asset.
|
AdditionalProperties(Map<String,String> additionalProperties)
Constructor for a new set of additional properties that are not connected either directly or indirectly to an asset.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getProperty(String name)
Returns the requested additional stored property for the element.
|
Iterator<String> |
getPropertyNames()
Returns a list of the additional stored properties for the element.
|
int |
hashCode()
Hash of properties
|
String |
toString()
Standard toString method.
|
getParentAsset, getParentAssetName, getParentAssetTypeNamepublic AdditionalProperties(Map<String,String> additionalProperties)
additionalProperties - map of properties for the metadata element.public AdditionalProperties(AssetDescriptor parentAsset, Map<String,String> additionalProperties)
parentAsset - description of the asset that these additional properties are attached to.additionalProperties - map of properties for the metadata element.public AdditionalProperties(AssetDescriptor parentAsset, AdditionalProperties templateProperties)
parentAsset - description of the asset that these additional properties are attached to.templateProperties - template object to copy.public Iterator<String> getPropertyNames()
public String getProperty(String name)
name - String name of the property to return.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.