public class Metadata
extends java.lang.Object
Constructor and Description |
---|
Metadata() |
Metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Instantiates a new metadata.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Gets the properties.
|
java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the property.
|
boolean |
matches(Metadata otherProperties)
Matches.
|
public Metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
metadata
- the metadatapublic Metadata()
public java.lang.Object getProperty(java.lang.String propertyName)
propertyName
- the property namepublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public boolean matches(Metadata otherProperties)
otherProperties
- the other properties