Plan - "This is how we will manage part/all of our crop this season"
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | |
CropSeasonId | Integer | 0..1 | Providing a range of date/time of validity for the corresponding document. Integer reference to a TimeScope object. |
Description | String | 1 | Same meaning throughout: an informative name for the document: "High-input soybeans," or "Fungicide spray rec for river bottom cornfields," or "Spraying Back 40") Inherited from Document |
CreatedDateTime | DateTime | 1 | |
ModifiedDateTime | DateTime | 1 | |
ApprovalDate | DateTime | 0..1 | |
CropId | Integer | 0..n | The n multiplicity is relevant for intercropping situations and horticultural scenarios where 1 field may have multiple blocks with different crops. Relevant primarily for validation / regulatory purposes. |
EstimatedArea | Double | 0..1 | |
Notes | String | 0..1 | |
PersonRoleIds | Integer | 0..n | A list of IDs of PeopleRole objects that describe "who" is involved and what their role is in the collection of data. |
WorkItems | (not attribute, resolved by helper method) | IF we are to follow the pattern here that is used elsewhere in the model, this should not be an attribute but instead an helper method that queries based on the "parent" attribute in the WorkItem. Management of the multiplicity via business rules would allow support for the variety of approaches FMIS applications take. | |
DocumentCorrelations | (not attribute, resolved by helper method) | IF we are to follow the pattern here that is used elsewhere in the model, this should not be an attribute but instead an helper method that queries based on the "parent" attribute in the Attachment. |
...
Attribute | Type | Multiplicity | Description | |
---|---|---|---|---|
Id | CompoundIdentifier | 1 | ||
CropSeasonId | Integer | 0..1 | ||
Name | String | 1 | ||
CreatedDateTime | DateTime | 1 | ||
ModifiedDateTime | DateTime | 1 | ||
ProposedDate | DateTime | 0..1 | ||
ExpirationDate | DateTime | 0..1 | ||
CropId | Integer | 0..n | The n multiplicity is relevant for intercropping situations and horticultural scenarios where 1 field may have multiple blocks with different crops. Relevant primarily for validation / regulatory purposes. | |
Notes | String | 0..1 | ||
PersonRoleIds | Integer | 0..n | A list of IDs of PeopleRole objects that describe "who" is involved and what their role is in the collection of data. | |
Fields | List<Field> | Is this an attribute here, or pulled up from the "child" WorkItem(s) via helper method? | ||
CropZones | List<CropZone> | Is this an attribute here, or pulled up from the "child" WorkItem(s) via helper method? | ||
WorkItem[] | List <WorkItem> | IF we are to follow the pattern here that is used elsewhere in the model, this should not be an attribute but instead an helper method that queries based on the "parent" attribute in the WorkItem. | ||
Attachments | List<Attachment> | IF we are to follow the pattern here that is used elsewhere in the model, this should not be an attribute but instead an helper method that queries based on the "parent" attribute in the Attachment. |
WorkOrder - "This is what we will do now/soon"
Attribute | Type | Multiplicity | Description | ||
---|---|---|---|---|---|
Id | CompoundIdentifier | 1 | |||
CropSeasonId | Integer | 1 | |||
Name | String | 1 | |||
CreatedDateTime | DateTime | 1 | |||
ModifiedDateTime | DateTime | 1 | |||
StartDateTime | DateTime | 0..1 | |||
CropId | Integer | 0..n | The n multiplicity is relevant for intercropping situations and horticultural scenarios where 1 field may have multiple blocks with different crops. Relevant primarily for validation / regulatory purposes. | ||
Notes | String | 0..1 | |||
PersonRoleIds | Integer | 0..n | A list of IDs of PeopleRole objects that describe "who" is involved and what their role is in the collection of data. | ||
Fields | List<Field> | ||||
CropZones | List<CropZone> | ||||
WorkItem[] | List <WorkItem> | ||||
Attachments | List<Attachment> |
DocumentCorrelation
This objects purpose is to describe the relationship between documents, not to describe one document WITHIN another.
Attribute | Type | Multiplicity | Description | |
---|---|---|---|---|
Id | IntegerCompoundIdentifier | 1 | ||
RelationshipType | Enumeration DocRelationshipTypeEnum | 1 | ||
DocumentId | Integer | 1 | "Self" | |
OriginatingDocumentId | Integer | 1 | "Other" | |
TimeScopes | TimeScope | 0..n | ||
PersonRoleIds | Integer | 0..n |
...
Anchor | ||||
---|---|---|---|---|
|