Package gov.nih.mipav.model.file
Class MetadataExtractor.KeyValuePair
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.KeyValuePair
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.KeyValuePair extends java.lang.Object
Models a key/value pair, where both are non-nullMetadataExtractor.StringValue
objects.- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
_key
private MetadataExtractor.StringValue
_value
-
Constructor Summary
Constructors Constructor Description KeyValuePair(java.lang.String key, MetadataExtractor.StringValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
MetadataExtractor.StringValue
getValue()
java.lang.String
toString()
-
-
-
Field Detail
-
_key
private final java.lang.String _key
-
_value
private final MetadataExtractor.StringValue _value
-
-
Constructor Detail
-
KeyValuePair
public KeyValuePair(java.lang.String key, MetadataExtractor.StringValue value)
-
-
Method Detail
-
getKey
public java.lang.String getKey()
-
getValue
public MetadataExtractor.StringValue getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-