Class AiidaLocalDataNeed
java.lang.Object
energy.eddie.aiida.models.permission.dataneed.AiidaLocalDataNeed
- All Implemented Interfaces:
AiidaDataNeedInterface
- Direct Known Subclasses:
InboundAiidaLocalDataNeed,OutboundAiidaLocalDataNeed
Stores the locally required information about a data need of a permission.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AiidaAssetprotected UUIDprotected booleanprotected Stringprotected Stringprotected Stringprotected Set<AiidaSchema> protected org.springframework.scheduling.support.CronExpressionprotected String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor only for JPA.protectedAiidaLocalDataNeed(AiidaDataNeed dataNeed) -
Method Summary
Modifier and TypeMethodDescriptionasset()Returns the kind of asset the data is retrieved fromReturns the data need IDdataTags()Returns the set of identifiers for the data that should be shared.booleanReturns whether the receiving party should acknowledge the reception of the data.name()schemas()Returns the schema for the dataorg.springframework.scheduling.support.CronExpressionReturns the schedule in cron format, at which data should be sent.type()Returns the type of the Data Need
-
Field Details
-
dataNeedId
-
type
-
name
-
purpose
-
policyLink
-
transmissionSchedule
protected org.springframework.scheduling.support.CronExpression transmissionSchedule -
isAcknowledgementRequired
protected boolean isAcknowledgementRequired -
schemas
-
asset
-
dataTags
-
-
Constructor Details
-
AiidaLocalDataNeed
protected AiidaLocalDataNeed()Constructor only for JPA. -
AiidaLocalDataNeed
-
-
Method Details
-
name
-
asset
Description copied from interface:AiidaDataNeedInterfaceReturns the kind of asset the data is retrieved from- Specified by:
assetin interfaceAiidaDataNeedInterface- See Also:
-
dataNeedId
Description copied from interface:AiidaDataNeedInterfaceReturns the data need ID- Specified by:
dataNeedIdin interfaceAiidaDataNeedInterface
-
dataTags
Description copied from interface:AiidaDataNeedInterfaceReturns the set of identifiers for the data that should be shared.- Specified by:
dataTagsin interfaceAiidaDataNeedInterface
-
schemas
Description copied from interface:AiidaDataNeedInterfaceReturns the schema for the data- Specified by:
schemasin interfaceAiidaDataNeedInterface- See Also:
-
transmissionSchedule
public org.springframework.scheduling.support.CronExpression transmissionSchedule()Description copied from interface:AiidaDataNeedInterfaceReturns the schedule in cron format, at which data should be sent.- Specified by:
transmissionSchedulein interfaceAiidaDataNeedInterface
-
isAcknowledgementRequired
public boolean isAcknowledgementRequired()Description copied from interface:AiidaDataNeedInterfaceReturns whether the receiving party should acknowledge the reception of the data. If true, the receiving party is expected to send an acknowledgment envelope back to the sender after receiving the data. If false, no acknowledgment is expected.- Specified by:
isAcknowledgementRequiredin interfaceAiidaDataNeedInterface
-
type
Description copied from interface:AiidaDataNeedInterfaceReturns the type of the Data Need- Specified by:
typein interfaceAiidaDataNeedInterface
-