Package gda.data.metadata
Interface IMetadataEntry
- All Superinterfaces:
Configurable,Findable,gda.observable.IObservable,Serializable
- All Known Implementing Classes:
DateMetadataEntry,DummyMetadataEntry,EpicsMetadataEntry,ExternalCalibrationMetadataEntry,IcatMetadataEntry,JythonMetadataEntry,MetadataEntry,PersistantMetadataEntry,PropertyMetadataEntry,ScannableMetadataEntry,StoredMetadataEntry,StoredScanMetadataEntry,SubdirectoryMetadataEntry
public interface IMetadataEntry
extends Findable, gda.observable.IObservable, Configurable, Serializable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the current value of the object.getName()Gets the name of this metadata entry.voidsetDefEntryName(String defEntryName) voidSets the name of this metadata entry.voidWhere appropriate, sets the value of the metadata.Methods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
getMetadataValue
String getMetadataValue()Returns the current value of the object. The method of retrieving this value will vary depending on the type of this piece of metadata.- Returns:
- The value of this metadata entry.
-
setName
Sets the name of this metadata entry. -
getName
String getName()Gets the name of this metadata entry. -
getDefEntryName
String getDefEntryName()- Returns:
- defEntryName
-
setDefEntryName
- Parameters:
defEntryName-
-
setValue
Where appropriate, sets the value of the metadata.- Parameters:
metadataValue-- Throws:
Exception
-
canStoreValue
boolean canStoreValue()- Returns:
- true - if this instance of IMetadataEntry can persist its value, so the storeValue method will try to do something
-