Package de.dlr.proseo.model
Class ConfiguredProcessor
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.ConfiguredProcessor
A specific version of a Processor combined with a specific Configuration object (i. e. a specific set of configuration data for
the given processor version). A ConfiguredProcessor is what must be specified for the generation of the products of a prosEO order.
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest equality of persistent objects based on their unique ID.Gets the associated processor configurationGets the enabled statusGets the identifier of the configured processorGets the associated versioned processorgetUuid()Gets the universally unique identifier (UUID) of this processor configurationinthashCode()voidsetConfiguration(Configuration configuration) Sets the associated processor configurationvoidsetEnabled(Boolean enabled) Sets the enabled statusvoidsetIdentifier(String identifier) Sets the identifier of the configured processorvoidsetProcessor(Processor processor) Sets the associated versioned processorvoidSets the universally unique identifier (UUID) of this processor configurationtoString()Methods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
ConfiguredProcessor
public ConfiguredProcessor()
-
-
Method Details
-
getIdentifier
Gets the identifier of the configured processor- Returns:
- the identifier
-
setIdentifier
Sets the identifier of the configured processor- Parameters:
identifier- the identifier to set
-
getUuid
Gets the universally unique identifier (UUID) of this processor configuration- Returns:
- the UUID
-
setUuid
Sets the universally unique identifier (UUID) of this processor configuration- Parameters:
uuid- the UUID to set
-
getProcessor
Gets the associated versioned processor- Returns:
- the processor
-
setProcessor
Sets the associated versioned processor- Parameters:
processor- the processor to set
-
getConfiguration
Gets the associated processor configuration- Returns:
- the configuration
-
setConfiguration
Sets the associated processor configuration- Parameters:
configuration- the configuration to set
-
getEnabled
Gets the enabled status- Returns:
- true, if the configured processor is enabled, false otherwise
-
setEnabled
Sets the enabled status- Parameters:
enabled- the enabled status to set
-
hashCode
public int hashCode()- Overrides:
hashCodein classPersistentObject
-
equals
Description copied from class:PersistentObjectTest equality of persistent objects based on their unique ID.- Overrides:
equalsin classPersistentObject- Parameters:
obj- the object to compare this object to- Returns:
- true, if obj is a persistent object and has the same ID, false otherwise
- See Also:
-
toString
-