+ * This example demo creates an in-memory Jena database populated with the example data libraries as + * RDF triples. + *
+ *+ * {@code PersonB1_Bob} can be queried for using the `findByEntityName` method. method. The + * resulting object(s) of this query are output to the command-line as RDF triples. + *
+ * + */ +public final class JenaDatabaseDemo { + + /** + * Run the in-memory Jena database example. + * + * @param args Application arguments. + */ + public static void main(final String[] args) { + + // Instantiate new in-memory Jena database. + final MagmaCoreService mcService = MagmaCoreServiceFactory.createWithJenaDatabase(); + + // Add example data objects to dataset. + populateExampleData(mcService); + + // Query database to check its populated. + final Map+ * Note: This has the same meaning as, but different representation to, the + * {@link uk.gov.gchq.magmacore.hqdm.model.Aggregation} entity type. + *
+ */ + public static final HqdmIri AGGREGATED_INTO = new HqdmIri(HQDM, "aggregated_into"); + + /** + * A {@link #PART_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} has exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.Event} that is its beginning. + */ + public static final HqdmIri BEGINNING = new HqdmIri(HQDM, "beginning"); + + /** + * A relationship type where each {@link uk.gov.gchq.magmacore.hqdm.model.Activity} is the cause of + * one or more {@link uk.gov.gchq.magmacore.hqdm.model.Event}. + */ + public static final HqdmIri CAUSES = new HqdmIri(HQDM, "causes"); + + /** + * A {@link #CAUSES} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.TransferOfOwnership} {@link #CAUSES} exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.BeginningOfOwnership}. + */ + public static final HqdmIri CAUSES_BEGINNING = new HqdmIri(HQDM, "causes_beginning"); + + /** + * A relationship type where a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfActivity} causes a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfEvent}. + */ + public static final HqdmIri CAUSES_BY_CLASS = new HqdmIri(HQDM, "causes_by_class"); + + /** + * A {@link #CAUSES} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.TransferOfOwnership} {@link #CAUSES} exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.EndingOfOwnership}. + */ + public static final HqdmIri CAUSES_ENDING = new HqdmIri(HQDM, "causes_ending"); + + /** + * A relationship type where an {@link uk.gov.gchq.magmacore.hqdm.model.Offering} has exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfIndividual} some {@link #MEMBER_OF} which is + * offered. + */ + public static final HqdmIri CLASS_OF_OFFERED = new HqdmIri(HQDM, "class_of_offered"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.Classification} has exactly + * one classifier. + */ + public static final HqdmIri CLASSIFIER = new HqdmIri(HQDM, "classifier"); + + /** + * A {@link #PART_OF} relationship type where each + * {@link uk.gov.gchq.magmacore.hqdm.model.SystemComponent} is {@link #PART_OF} exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.System}. + */ + public static final HqdmIri COMPONENT_OF = new HqdmIri(HQDM, "component_of"); + + /** + * A relationship type where an {@link uk.gov.gchq.magmacore.hqdm.model.Offering} has exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.Price} at which the + * {@link uk.gov.gchq.magmacore.hqdm.model.Offering} is made. + */ + public static final HqdmIri CONSIDERATION_BY_CLASS = new HqdmIri(HQDM, "consideration_by_class"); + + /** + * A {@link #CONSISTS_OF} relationship type where an + * {@link uk.gov.gchq.magmacore.hqdm.model.Activity} may {@link #CONSISTS_OF} one or more other + * {@link uk.gov.gchq.magmacore.hqdm.model.Activity}. + */ + public static final HqdmIri CONSISTS_OF = new HqdmIri(HQDM, "consists_of"); + + /** + * A {@link #CONSISTS_OF} relationship subtype where an entity has another {@link CONSISTS_OF} + * relationship. + */ + public static final HqdmIri CONSISTS_OF_ = new HqdmIri(HQDM, "consists_of_"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} may + * consist of one or more others. + * + *+ * Note: This is the inverse of {@link #PART__OF}. + *
+ */ + public static final HqdmIri CONSISTS__OF = new HqdmIri(HQDM, "consists__of"); + + /** + * A relationship type where a {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfActivity} or + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfAssociation} has a {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.Role} as a + * {@link uk.gov.gchq.magmacore.hqdm.model.Participant} or part. + */ + public static final HqdmIri CONSISTS_OF_BY_CLASS = new HqdmIri(HQDM, "consists_of_by_class"); + + /** + * An inverse {@link #PART__OF_BY_CLASS} relationship type where a {@link #MEMBER_OF} one + * {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfSpatioTemporalExtent} {@link #CONSISTS_OF} another + * {@link #MEMBER_OF} a {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfSpatioTemporalExtent}. + */ + public static final HqdmIri CONSISTS__OF_BY_CLASS = new HqdmIri(HQDM, "consists__of_by_class"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.RecognizingLanguageCommunity} + * is a {@link #PARTICIPANT_IN} each {@link #MEMBER_OF} one or more + * {@link uk.gov.gchq.magmacore.hqdm.model.RepresentationByPattern}. + */ + public static final HqdmIri CONSISTS_OF_IN_MEMBERS = new HqdmIri(HQDM, "consists_of_in_members"); + + /** + * A {@link #CONSISTS_OF} relationship type where an + * {@link uk.gov.gchq.magmacore.hqdm.model.Activity} or + * {@link uk.gov.gchq.magmacore.hqdm.model.Association} {@link #CONSISTS_OF} at least one (for + * Activity) or two (for Association) of {@link uk.gov.gchq.magmacore.hqdm.model.Participant}. + */ + public static final HqdmIri CONSISTS_OF_PARTICIPANT = new HqdmIri(HQDM, "consists_of_participant"); + + /** + * A {@link #CONSISTS_OF_PARTICIPANT} relationship subtype where an entity has another + * {@link #CONSISTS_OF_PARTICIPANT} relationship. + */ + public static final HqdmIri CONSISTS_OF_PARTICIPANT_ = new HqdmIri(HQDM, "consists_of_participant_"); + + /** + * A {@link #MEMBER_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.Requirement} is {@link #DEFINED_BY} exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.RequirementSpecification}. + */ + public static final HqdmIri DEFINED_BY = new HqdmIri(HQDM, "defined_by"); + + /** + * A relationship type where an {@link uk.gov.gchq.magmacore.hqdm.model.Activity} may determine one + * or more {@link uk.gov.gchq.magmacore.hqdm.model.Thing} to be the case. + */ + public static final HqdmIri DETERMINES = new HqdmIri(HQDM, "determines"); + + /** + * A relationship type where a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfActivity} determines a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.Class}. + */ + public static final HqdmIri DETERMINES_BY_CLASS = new HqdmIri(HQDM, "determines_by_class"); + + /** + * A {@link uk.gov.gchq.magmacore.hqdm.model.Scale} has exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfPhysicalQuantity} as its {@link #DOMAIN}. + */ + public static final HqdmIri DOMAIN = new HqdmIri(HQDM, "domain"); + + /** + * A {@link #PART_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} has exactly one event that is its + * ending. + */ + public static final HqdmIri ENDING = new HqdmIri(HQDM, "ending"); + + /** + * A {@link #CONSISTS_OF_BY_CLASS} relationship type where each {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfSystem} has a {@link #MEMBER_OF} one or more + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfSystemComponent} as a component. + */ + public static final HqdmIri HAS_COMPONENT_BY_CLASS = new HqdmIri(HQDM, "has_component_by_class"); + + /** + * A relationship type where each {@link #MEMBER_OF} the class is a {@link #MEMBER_OF} the + * {@link #SUPERCLASS}. + */ + public static final HqdmIri HAS_SUPERCLASS = new HqdmIri(HQDM, "has_superclass"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.FunctionalObject} has one or + * more intended {@link uk.gov.gchq.magmacore.hqdm.model.Role}(s). + */ + public static final HqdmIri INTENDED_ROLE = new HqdmIri(HQDM, "intended_role"); + + /** + * A relationship type where each {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfFunctionalObject} is intended to play one or more + * {@link uk.gov.gchq.magmacore.hqdm.model.Role}(s). + */ + public static final HqdmIri INTENDED_ROLE_BY_CLASS = new HqdmIri(HQDM, "intended_role_by_class"); + + /** + * A {@code subtype_of} relationship type where each + * {@link uk.gov.gchq.magmacore.hqdm.model.RequirementSpecification} is the {@link #INTERSECTION_OF} + * one or more {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfState}. + * + *+ * Note: The {@link uk.gov.gchq.magmacore.hqdm.model.RequirementSpecification} is a subtype of each + * of the related {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfState}. + *
+ */ + public static final HqdmIri INTERSECTION_OF = new HqdmIri(HQDM, "intersection_of"); + + /** + * A meta-relationship type where the {@link uk.gov.gchq.magmacore.hqdm.model.Classification} of + * some thing in a {@link uk.gov.gchq.magmacore.hqdm.model.Role} is involved in a + * {@link uk.gov.gchq.magmacore.hqdm.model.Relationship}. + */ + public static final HqdmIri INVOLVES = new HqdmIri(HQDM, "involves"); + + /** + * A {@code supertype_of} relationship type where each + * {@link uk.gov.gchq.magmacore.hqdm.model.PhysicalQuantityRange} must have as {@link #LOWER_BOUND} + * exactly one {@link uk.gov.gchq.magmacore.hqdm.model.PhysicalQuantity}. + */ + public static final HqdmIri LOWER_BOUND = new HqdmIri(HQDM, "lower_bound"); + + /** + * A {@code subclass_of} relationship type where when a + * {@link uk.gov.gchq.magmacore.hqdm.model.SalesProduct} {@link #MEETS_SPECIFICATION} of a + * {@link uk.gov.gchq.magmacore.hqdm.model.RequirementSpecification}, each {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.SalesProduct} is a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.RequirementSpecification}. + */ + public static final HqdmIri MEETS_SPECIFICATION = new HqdmIri(HQDM, "meets_specification"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.Classification} has exactly + * one {@link #MEMBER}. + */ + public static final HqdmIri MEMBER = new HqdmIri(HQDM, "member"); + + /** + * A {@link #MEMBER_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} is a {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfSpatioTemporalExtent}. + */ + public static final HqdmIri MEMBER_OF = new HqdmIri(HQDM, "member_of"); + + /** + * A {@link #MEMBER_OF} relationship subtype where an entity has another {@link MEMBER_OF} + * relationship that is less constrained in its scope. + */ + public static final HqdmIri MEMBER_OF_ = new HqdmIri(HQDM, "member_of_"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.Thing} may be a member of one + * or more {@link uk.gov.gchq.magmacore.hqdm.model.Class}. + * + *+ * Note: This relationship is the same as the entity type + * {@link uk.gov.gchq.magmacore.hqdm.model.Classification}. + *
+ */ + public static final HqdmIri MEMBER__OF = new HqdmIri(HQDM, "member__of"); + + /** + * A {@link #MEMBER_OF} relationship type where an + * {@link uk.gov.gchq.magmacore.hqdm.model.AmountOfMoney} may be a {@link #MEMBER_OF} exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.Currency}. + */ + public static final HqdmIri MEMBER_OF_CURRENCY = new HqdmIri(HQDM, "member_of_currency"); + + /** + * A {@link #MEMBER_OF} relationship type where an + * {@link uk.gov.gchq.magmacore.hqdm.model.Individual} may be a {@link #MEMBER_OF} one or more + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfIndividual}. + */ + public static final HqdmIri MEMBER_OF_KIND = new HqdmIri(HQDM, "member_of_kind"); + + /** + * A {@link #MEMBER_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.BiologicalSystem} has a natural role that it plays. + * + *+ * Example: My circulatory system has the natural role of circulating blood around the body. + *
+ */ + public static final HqdmIri NATURAL_ROLE = new HqdmIri(HQDM, "natural_role"); + + /** + * A relationship type where each {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfBiologicalSystem} naturally participates in the + * {@link uk.gov.gchq.magmacore.hqdm.model.Role}. + */ + public static final HqdmIri NATURAL_ROLE_BY_CLASS = new HqdmIri(HQDM, "natural_role_by_class"); + + /** + * A relationship type where an {@link uk.gov.gchq.magmacore.hqdm.model.Offering} has exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.Party} who makes the + * {@link uk.gov.gchq.magmacore.hqdm.model.Offering}. + */ + public static final HqdmIri OFFEROR = new HqdmIri(HQDM, "offeror"); + + /** + * A relationship type where an {@link uk.gov.gchq.magmacore.hqdm.model.Aggregation} has exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} as the {@link #PART}. + */ + public static final HqdmIri PART = new HqdmIri(HQDM, "part"); + + /** + * A {@link #PART_OF} relationship type where one {@link uk.gov.gchq.magmacore.hqdm.model.Activity} + * may be a {@link #PART_OF} one or more others. + */ + public static final HqdmIri PART_OF = new HqdmIri(HQDM, "part_of"); + + /** + * A {@link #PART_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.SociallyConstructedObject} may be a {@link #PART_OF} one + * or more {@link uk.gov.gchq.magmacore.hqdm.model.AgreementExecution}. + */ + public static final HqdmIri PART_OF_ = new HqdmIri(HQDM, "part_of_"); + + /** + * A {@link #PART_OF_BY_CLASS} where a {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.Role} is a + * {@link uk.gov.gchq.magmacore.hqdm.model.Participant} in a {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfActivity}. + */ + public static final HqdmIri PART_OF_BY_CLASS = new HqdmIri(HQDM, "part_of_by_class"); + + /** + * A {@link #PART_OF_BY_CLASS} relationship type where a {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.Role} is a {@link #PART_OF} a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.Class}. + */ + public static final HqdmIri PART_OF_BY_CLASS_ = new HqdmIri(HQDM, "part_of_by_class_"); + + /** + * A {@link #PART_OF} relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.Requirement} + * must be {@link #PART_OF} one or more {@link uk.gov.gchq.magmacore.hqdm.model.Plan}s. + */ + public static final HqdmIri PART_OF_PLAN = new HqdmIri(HQDM, "part_of_plan"); + + /** + * A {@link #PART_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} may be {@link #PART_OF} one or more + * {@link uk.gov.gchq.magmacore.hqdm.model.PossibleWorld}. + * + *+ * Note: The relationship is optional because a + * {@link uk.gov.gchq.magmacore.hqdm.model.PossibleWorld} is not {@link #PART_OF} any other + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent}. + *
+ */ + public static final HqdmIri PART_OF_POSSIBLE_WORLD = new HqdmIri(HQDM, "part_of_possible_world"); + + /** + * An {@link #AGGREGATED_INTO} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} may be part of another and the + * whole has emergent properties and is more than just the sum of its parts. + */ + public static final HqdmIri PART__OF = new HqdmIri(HQDM, "part__of"); + + /** + * A relationship type where a {@link #MEMBER_OF} a + * {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfSpatioTemporalExtent} is {@link #PART_OF} a + * {@link #MEMBER_OF} some {@link uk.gov.gchq.magmacore.hqdm.model.ClassOfSpatioTemporalExtent}. + */ + public static final HqdmIri PART__OF_BY_CLASS = new HqdmIri(HQDM, "part__of_by_class"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.Participant} is a + * {@link #PARTICIPANT_IN} an {@link uk.gov.gchq.magmacore.hqdm.model.Association} or + * {@link uk.gov.gchq.magmacore.hqdm.model.Activity}. + */ + public static final HqdmIri PARTICIPANT_IN = new HqdmIri(HQDM, "participant_in"); + + /** + * A relationship that is exactly one {@link uk.gov.gchq.magmacore.hqdm.model.PeriodOfTime} for + * which the {@link uk.gov.gchq.magmacore.hqdm.model.Offering} is valid. + */ + public static final HqdmIri PERIOD_OFFERED = new HqdmIri(HQDM, "period_offered"); + + /** + * A {@code supertype_of} relationship type where the members of each + * {@link uk.gov.gchq.magmacore.hqdm.model.PhysicalProperty} in the + * {@link uk.gov.gchq.magmacore.hqdm.model.PhysicalPropertyRange} are members of the + * {@link uk.gov.gchq.magmacore.hqdm.model.PhysicalPropertyRange}. + */ + public static final HqdmIri RANGES_OVER = new HqdmIri(HQDM, "ranges_over"); + + /** + * A relationship type where a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfActivity} references a {@link #MEMBER_OF} the + * {@link uk.gov.gchq.magmacore.hqdm.model.Class}. + */ + public static final HqdmIri REFERENCES_BY_CLASS = new HqdmIri(HQDM, "references_by_class"); + + /** + * A relationship type where an {@link uk.gov.gchq.magmacore.hqdm.model.Activity} may reference one + * or more {@link uk.gov.gchq.magmacore.hqdm.model.Thing}. + */ + public static final HqdmIri REFERENCES = new HqdmIri(HQDM, "references"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.RepresentationBySign} + * {@link #REPRESENTS} one or more {@link uk.gov.gchq.magmacore.hqdm.model.Thing}. + */ + public static final HqdmIri REPRESENTS = new HqdmIri(HQDM, "represents"); + + /** + * A relationship type where the {@link uk.gov.gchq.magmacore.hqdm.model.Thing} is represented by + * each {@link #MEMBER_OF} the {@link uk.gov.gchq.magmacore.hqdm.model.RepresentationByPattern}. + */ + public static final HqdmIri REPRESENTED = new HqdmIri(HQDM, "represented"); + + /** + * A relationship type where the {@link uk.gov.gchq.magmacore.hqdm.model.Classification} is of a + * required role player for the members of a + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfRelationshipWithRestriction}. + */ + public static final HqdmIri REQUIRED_ROLE_PLAYER = new HqdmIri(HQDM, "required_role_player"); + + /** + * The roles that must be filled by members of a + * {@link uk.gov.gchq.magmacore.hqdm.model.KindOfRelationshipWithSignature}. + */ + public static final HqdmIri ROLES = new HqdmIri(HQDM, "roles"); + + /** + * A {@link uk.gov.gchq.magmacore.hqdm.model.Specialization} where the + * {@link uk.gov.gchq.magmacore.hqdm.model.SalesProductVersion} may be sold as a + * {@link uk.gov.gchq.magmacore.hqdm.model.SalesProduct}. + */ + public static final HqdmIri SOLD_AS = new HqdmIri(HQDM, "sold_as"); + + /** + * A {@link uk.gov.gchq.magmacore.hqdm.model.Specialization} where the + * {@link uk.gov.gchq.magmacore.hqdm.model.SalesProduct} is sold under a + * {@link uk.gov.gchq.magmacore.hqdm.model.ProductBrand}. + */ + public static final HqdmIri SOLD_UNDER = new HqdmIri(HQDM, "sold_under"); + + /** + * A relationship type where each {@link uk.gov.gchq.magmacore.hqdm.model.Specialization} has + * exactly one {@link uk.gov.gchq.magmacore.hqdm.model.Class} as {@link #SUBCLASS}. + */ + public static final HqdmIri SUBCLASS = new HqdmIri(HQDM, "subclass"); + + /** + * A relationship type where a {@link uk.gov.gchq.magmacore.hqdm.model.SalesProductVersion} may have + * exactly one {@link #SUCCESSOR}. + */ + public static final HqdmIri SUCCESSOR = new HqdmIri(HQDM, "successor"); + + /** + * A relationship type where each {@link uk.gov.gchq.magmacore.hqdm.model.Specialization} has + * exactly one {@link uk.gov.gchq.magmacore.hqdm.model.Class} as {@link #SUPERCLASS}. + */ + public static final HqdmIri SUPERCLASS = new HqdmIri(HQDM, "superclass"); + + /** + * A {@link #TEMPORAL_PART_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.State} may be a {@link #TEMPORAL_PART_OF} one or more + * {@link uk.gov.gchq.magmacore.hqdm.model.Individual}. + * + *+ * Note: The relationship is optional because an {@link uk.gov.gchq.magmacore.hqdm.model.Individual} + * is not necessarily a {@link #TEMPORAL_PART_OF} another + * {@link uk.gov.gchq.magmacore.hqdm.model.Individual}, yet is a {@link #MEMBER_OF} + * {@link uk.gov.gchq.magmacore.hqdm.model.State} as well as + * {@link uk.gov.gchq.magmacore.hqdm.model.Individual}. This applies to all subtypes of + * {@link #TEMPORAL_PART_OF} that are between a {@code state_of_X} and {@code X}. + *
+ */ + public static final HqdmIri TEMPORAL_PART_OF = new HqdmIri(HQDM, "temporal_part_of"); + + /** + * A {@link #TEMPORAL_PART_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.PeriodOfTime} may be a {@link #TEMPORAL_PART_OF} one or + * more {@link uk.gov.gchq.magmacore.hqdm.model.PossibleWorld}. + */ + public static final HqdmIri TEMPORAL_PART_OF_ = new HqdmIri(HQDM, "temporal_part_of_"); + + /** + * A {@link #PART_OF} relationship type where a + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} may be a temporal part of one or + * more other {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent}. + */ + public static final HqdmIri TEMPORAL__PART_OF = new HqdmIri(HQDM, "temporal__part_of"); + + /** + * A {@link uk.gov.gchq.magmacore.hqdm.model.Scale} may have at most one + * {@link uk.gov.gchq.magmacore.hqdm.model.UnitOfMeasure}. + * + *+ * Note 1: A {@link uk.gov.gchq.magmacore.hqdm.model.UnitOfMeasure} may apply to more than one + * {@link uk.gov.gchq.magmacore.hqdm.model.Scale}. + *
+ * + *+ * Note 2: A {@link uk.gov.gchq.magmacore.hqdm.model.Scale} may not have a + * {@link uk.gov.gchq.magmacore.hqdm.model.UnitOfMeasure}. To have a + * {@link uk.gov.gchq.magmacore.hqdm.model.UnitOfMeasure} the points on the + * {@link uk.gov.gchq.magmacore.hqdm.model.Scale} must be evenly placed so that adding one means the + * same {@link uk.gov.gchq.magmacore.hqdm.model.Thing}. This is not true for some + * {@link uk.gov.gchq.magmacore.hqdm.model.Scale}s such as Rockwell Hardness where the points on the + * {@link uk.gov.gchq.magmacore.hqdm.model.Scale} are an arbitrary distance apart. A + * {@link uk.gov.gchq.magmacore.hqdm.model.Scale} will also not have a + * {@link uk.gov.gchq.magmacore.hqdm.model.UnitOfMeasure} when it is a dimensionless + * {@link uk.gov.gchq.magmacore.hqdm.model.Scale}. + *
+ */ + public static final HqdmIri UNIT = new HqdmIri(HQDM, "unit"); + + /** + * A {@code supertype_of} relationship type where each + * {@link uk.gov.gchq.magmacore.hqdm.model.PhysicalQuantityRange} must have as {@link #UPPER_BOUND} + * exactly one {@link uk.gov.gchq.magmacore.hqdm.model.PhysicalQuantity}. + */ + public static final HqdmIri UPPER_BOUND = new HqdmIri(HQDM, "upper_bound"); + + /** + * A relationship type where an + * {@link uk.gov.gchq.magmacore.hqdm.model.IdentificationOfPhysicalQuantity} uses exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.Scale}. + */ + public static final HqdmIri USES = new HqdmIri(HQDM, "uses"); + + /** + * A relationship type where an + * {@link uk.gov.gchq.magmacore.hqdm.model.IdentificationOfPhysicalQuantity} consists of exactly one + * REAL as its value. + * + *+ * Note 1: The members of the data type REAL provide an + * {@link uk.gov.gchq.magmacore.hqdm.model.Identification} of a real number. + *
+ * + *+ * Note 2: The relationship name has been renamed from consists of by + * {@link uk.gov.gchq.magmacore.hqdm.model.Class} to value. + *
+ */ + public static final HqdmIri VALUE_ = new HqdmIri(HQDM, "value_"); + + /** + * A relationship type where an {@link uk.gov.gchq.magmacore.hqdm.model.Aggregation} has exactly one + * {@link uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent} as the whole. + */ + public static final HqdmIri WHOLE = new HqdmIri(HQDM, "whole"); +} diff --git a/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/HqdmIri.java b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/HqdmIri.java new file mode 100755 index 00000000..21251e17 --- /dev/null +++ b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/HqdmIri.java @@ -0,0 +1,44 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.rdf.iri; + +import uk.gov.gchq.magmacore.hqdm.rdf.exception.IriException; + +/** + * An implementation of Internationalized Resource Identifiers for defining HQDM entities and + * relationship types. + */ +public class HqdmIri extends IRI { + + /** + * Constructs a new IRI to define a HQDM resource. + * + * @param base IRI base namespace. + * @param resource HQDM resource name. + */ + public HqdmIri(final IriBase base, final String resource) { + super(base, resource); + } + + /** + * Constructs a new IRI from a string to define a HQDM resource. + * + * @param iri IRI string. + * @throws IriException If the IRI string is malformed. + */ + public HqdmIri(final String iri) throws IriException { + super(iri); + } +} diff --git a/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/IRI.java b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/IRI.java new file mode 100755 index 00000000..0cb02756 --- /dev/null +++ b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/IRI.java @@ -0,0 +1,128 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.rdf.iri; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Objects; + +import uk.gov.gchq.magmacore.hqdm.rdf.exception.IriException; + +/** + * An implementation of Internationalized Resource Identifiers. + */ +public class IRI { + + private String resource; + + private String iri; + + /** + * Constructs a new IRI from a base namespace and resource name. + * + * @param base IRI base namespace. + * @param resource Resource name. + */ + public IRI(final IriBase base, final String resource) { + fromString(base.getNamespace() + resource); + } + + /** + * Constructs a new IRI from a string. + * + * @param iri IRI string. + * @throws IriException If the IRI string is malformed. + */ + public IRI(final String iri) throws IriException { + fromString(iri); + } + + /** + * The name of the resource. + * + * @return Resource name. + */ + public String getResource() { + return resource; + } + + /** + * The full IRI string of the resource. + * + * @return IRI string. + */ + public String getIri() { + return iri; + } + + /** + * Convert a {@link String} to an IRI. + * + * @param iri {@link String} + * @throws IriException if the {@link String} is not a valid URL. + */ + private void fromString(final String iri) throws IriException { + try { + new URL(iri); + this.iri = iri; + } catch (final MalformedURLException m) { + throw new IriException("Cannot parse IRI: " + iri); + } + + int index = iri.lastIndexOf('#'); + if (index < 0) { + index = iri.lastIndexOf('/'); + } + if (index < 0) { + throw new IriException("Cannot parse IRI: " + iri); + } else { + this.resource = iri.substring(index + 1); + } + + } + + /** + * Returns the full IRI string value. + * + * @return IRI string. + */ + @Override + public String toString() { + return getIri(); + } + + /** + * Compare to another {@code Object}. + * + * @param object Object to compare. + * @return True if + */ + @Override + public boolean equals(final Object object) { + if (this == object) { + return true; + } + if (!(object instanceof IRI)) { + return false; + } + final IRI other = (IRI) object; + return Objects.equals(this.iri, other.iri); + } + + @Override + public int hashCode() { + return iri.hashCode(); + } +} diff --git a/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/IriBase.java b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/IriBase.java new file mode 100755 index 00000000..2a0efb7a --- /dev/null +++ b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/IriBase.java @@ -0,0 +1,97 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.rdf.iri; + +import java.util.Objects; + +/** + * The base namespace of an {@link IRI}. + */ +public class IriBase { + + private String prefix; + + private String namespace; + + /** + * Constructs a new blank IriBase. + */ + public IriBase() { + } + + /** + * Constructs a new IriBase with a prefix and namespace. + * + * @param prefix Prefix label for the vocabulary. + * @param namespace URL of the namespace. + */ + public IriBase(final String prefix, final String namespace) { + this.prefix = prefix; + this.namespace = namespace; + } + + /** + * Return the prefix label of the namespace. + * + * @return Namespace prefix. + */ + public String getPrefix() { + return prefix; + } + + /** + * Set the prefix label for the namespace. + * + * @param prefix Namespace prefix. + */ + public void setPrefix(final String prefix) { + this.prefix = prefix; + } + + /** + * Return the URL of the namespace. + * + * @return Namespace URL. + */ + public String getNamespace() { + return namespace; + } + + /** + * Set the URL of the namespace. + * + * @param namespace Namespace URL. + */ + public void setNamespace(final String namespace) { + this.namespace = namespace; + } + + @Override + public boolean equals(final Object object) { + if (this == object) { + return true; + } + if (!(object instanceof IriBase)) { + return false; + } + final IriBase iri = (IriBase) object; + return Objects.equals(namespace, iri.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(namespace); + } +} diff --git a/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/RDFS.java b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/RDFS.java new file mode 100755 index 00000000..b58524a9 --- /dev/null +++ b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/RDFS.java @@ -0,0 +1,71 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.rdf.iri; + +/** + * RDF Schema IRI definitions. + */ +public final class RDFS { + + private RDFS() { + } + + /** + * Base namespace of the RDF Concepts Vocabulary (RDF). + * + *+ * RDF Schema for the RDF vocabulary terms in the RDF Namespace. + *
+ * + * @see https://www.w3.org/TR/rdf-schema/ + */ + public static final IriBase RDF = new IriBase("rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"); + + /** + * {@code rdf:type} is an instance of {@code rdf:Property} that is used to state that a resource is + * an instance of a class. + */ + public static final IRI RDF_TYPE = new IRI(RDF, "type"); + + /** + * Base namespace of the RDF Schema vocabulary (RDFS). + * + *+ * RDF Schema provides a data-modelling vocabulary for RDF data. RDF Schema is an extension of the + * basic RDF vocabulary. + *
+ * + * @see https://www.w3.org/TR/rdf-schema/ + */ + public static final IriBase RDFS = new IriBase("rdfs", "http://www.w3.org/2000/01/rdf-schema#"); + + /** + * This is the class of resources that are RDF classes. + */ + public static final IRI RDFS_CLASS = new IRI(RDFS, "class"); + + /** + * The class {@code rdfs:Literal} is the class of literal values such as strings and integers. + * Property values such as textual strings are examples of RDF literals. + */ + public static final IRI RDFS_LITERAL = new IRI(RDFS, "Literal"); + + /** + * The property {@code rdfs:subClassOf} is an instance of {@code rdf:Property} that is used to state + * that all the instances of one class are instances of another. + */ + public static final IRI RDFS_SUB_CLASS_OF = new IRI(RDFS, "subClassOf"); + +} diff --git a/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/package-info.java b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/package-info.java new file mode 100644 index 00000000..82c164af --- /dev/null +++ b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/iri/package-info.java @@ -0,0 +1,19 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +/** + * Classes for constructing and using Internationalized Resource Identifiers (IRIs) with HQDM + * objects. + */ +package uk.gov.gchq.magmacore.hqdm.rdf.iri; diff --git a/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/package-info.java b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/package-info.java new file mode 100644 index 00000000..92979283 --- /dev/null +++ b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/package-info.java @@ -0,0 +1,18 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +/** + * Classes for constructing HQDM entities as Java objects. + */ +package uk.gov.gchq.magmacore.hqdm.rdf; diff --git a/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/util/Pair.java b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/util/Pair.java new file mode 100644 index 00000000..34c98dba --- /dev/null +++ b/hqdm-rdf/src/main/java/uk/gov/gchq/magmacore/hqdm/rdf/util/Pair.java @@ -0,0 +1,65 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.rdf.util; + +/** + * A utility Pair with Left (L) and Right (R) values. L the type of the Left element. R the type of + * the Right element. + */ +public class Pair+ * Note: More formally this means that any {@code member_of} the powerset of class is a valid + * {@code member_of} {@link ClassOfClass}. + *
+ */ +public interface ClassOfClass extends ClassOfAbstractObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfClassOfSpatioTemporalExtent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfClassOfSpatioTemporalExtent.java new file mode 100755 index 00000000..a70f4188 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfClassOfSpatioTemporalExtent.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfClass} that is {@link ClassOfSpatioTemporalExtent} or any of its subsets. + */ +public interface ClassOfClassOfSpatioTemporalExtent extends ClassOfClass { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfContractExecution.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfContractExecution.java new file mode 100755 index 00000000..9af60f6c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfContractExecution.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfAgreementExecution} that is {@link ContractExecution} or any of its subsets. + */ +public interface ClassOfContractExecution extends ClassOfAgreementExecution { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfContractProcess.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfContractProcess.java new file mode 100755 index 00000000..e16cea42 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfContractProcess.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfAgreementProcess} that is {@link ContractProcess} or any of its subsets. + */ +public interface ClassOfContractProcess extends ClassOfAgreementProcess { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfEvent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfEvent.java new file mode 100755 index 00000000..c1c39301 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfEvent.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSpatioTemporalExtent} that is {@link Event} or any of its possible subsets. + */ +public interface ClassOfEvent extends ClassOfSpatioTemporalExtent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalObject.java new file mode 100755 index 00000000..90631587 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfPhysicalObject}, {@link ClassOfIntentionallyConstructedObject}, and + * {@link ClassOfStateOfFunctionalObject} that is {@link FunctionalObject} or any of its subsets. + */ +public interface ClassOfFunctionalObject + extends ClassOfPhysicalObject, ClassOfIntentionallyConstructedObject, ClassOfStateOfFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalSystem.java new file mode 100755 index 00000000..905b9004 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalSystem.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfFunctionalSystem}, that is also a {@link ClassOfOrdinaryFunctionalObject}, + * and a {@link ClassOfSystem} that is {@link FunctionalSystem} or any of its subsets. + */ +public interface ClassOfFunctionalSystem + extends ClassOfStateOfFunctionalSystem, ClassOfOrdinaryFunctionalObject, ClassOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalSystemComponent.java new file mode 100755 index 00000000..16a65025 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfFunctionalSystemComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfFunctionalSystemComponent}, and {@link ClassOfSystemComponent} that is + * {@link FunctionalSystemComponent} and any of its subsets. + */ +public interface ClassOfFunctionalSystemComponent + extends ClassOfStateOfFunctionalSystemComponent, ClassOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInPlaceBiologicalComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInPlaceBiologicalComponent.java new file mode 100755 index 00000000..fc8cf493 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInPlaceBiologicalComponent.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfBiologicalSystemComponent}, that is also a + * {@link ClassOfStateOfOrdinaryBiologicalObject}, and a {@link ClassOfInstalledObject} that is + * {@link InPlaceBiologicalComponent} or any of its subsets. + */ +public interface ClassOfInPlaceBiologicalComponent extends ClassOfStateOfBiologicalSystemComponent, + ClassOfStateOfOrdinaryBiologicalObject, ClassOfInstalledObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfIndividual.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfIndividual.java new file mode 100755 index 00000000..c2f18246 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfIndividual.java @@ -0,0 +1,27 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} that is {@link Individual} or any of its subsets. + * + *+ * Note: Only a class that necessarily applies to an {@link Individual} for the whole of its life + * are valid members. Others are members of {@link ClassOfState} and apply to the {@link State} that + * is the {@link Individual} for the period of time that the {@link Class} applies for. + *
+ */ +public interface ClassOfIndividual extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInstalledFunctionalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInstalledFunctionalSystemComponent.java new file mode 100755 index 00000000..7800d085 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInstalledFunctionalSystemComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfFunctionalSystemComponent} that is also a {@link ClassOfInstalledObject} + * that is {@link InstalledFunctionalSystemComponent} and any of its subsets. + */ +public interface ClassOfInstalledFunctionalSystemComponent + extends ClassOfStateOfFunctionalSystemComponent, ClassOfInstalledObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInstalledObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInstalledObject.java new file mode 100755 index 00000000..86ddb1e7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfInstalledObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSystemComponent} that is also a + * {@link ClassOfStateOfOrdinaryPhysicalObject} that is {@link InstalledObject} or any of its + * subsets. + */ +public interface ClassOfInstalledObject extends ClassOfStateOfSystemComponent, ClassOfStateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfIntentionallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfIntentionallyConstructedObject.java new file mode 100755 index 00000000..f911c472 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfIntentionallyConstructedObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfIndividual} that is also a {@link ClassOfStateOfIntentionallyConstructedObject} + * that is {@link IntentionallyConstructedObject} or any of its subsets. + */ +public interface ClassOfIntentionallyConstructedObject + extends ClassOfIndividual, ClassOfStateOfIntentionallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOffer.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOffer.java new file mode 100755 index 00000000..10af9ea5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOffer.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSociallyConstructedActivity} that is {@link Offer} or any of its subsets. + */ +public interface ClassOfOffer extends ClassOfSociallyConstructedActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryBiologicalObject.java new file mode 100755 index 00000000..38e394c8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryBiologicalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfBiologicalObject}, {@link ClassOfOrdinaryPhysicalObject} and + * {@link ClassOfStateOfOrdinaryBiologicalObject} that is {@link OrdinaryBiologicalObject} or any of + * its subsets. + */ +public interface ClassOfOrdinaryBiologicalObject + extends ClassOfBiologicalObject, ClassOfStateOfOrdinaryBiologicalObject, ClassOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryFunctionalObject.java new file mode 100755 index 00000000..57fdf6a5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryFunctionalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrdinaryFunctionalObject}, that is also a {@link ClassOfFunctionalObject}, + * and a {@link ClassOfOrdinaryPhysicalObject} that is {@link OrdinaryFunctionalObject} or any of + * its subsets. + */ +public interface ClassOfOrdinaryFunctionalObject + extends ClassOfStateOfOrdinaryFunctionalObject, ClassOfFunctionalObject, ClassOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryPhysicalObject.java new file mode 100755 index 00000000..0551ed71 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrdinaryPhysicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrdinaryPhysicalObject} that is also a {@link ClassOfPhysicalObject} that + * is {@link OrdinaryPhysicalObject} or any of its subsets. + */ +public interface ClassOfOrdinaryPhysicalObject extends ClassOfStateOfOrdinaryPhysicalObject, ClassOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrganization.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrganization.java new file mode 100755 index 00000000..854ce3d9 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrganization.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrganization}, that is also a {@link ClassOfSociallyConstructedObject}, + * and a {@link ClassOfParty} that is {@link Organization} or any of its subsets. + */ +public interface ClassOfOrganization + extends ClassOfStateOfOrganization, ClassOfSociallyConstructedObject, ClassOfParty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrganizationComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrganizationComponent.java new file mode 100755 index 00000000..e9561f27 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfOrganizationComponent.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrganizationComponent}, that is also a {@link ClassOfSystemComponent}, and + * a {@link ClassOfSociallyConstructedObject} that is {@link OrganizationComponent} or any of its + * subsets. + */ +public interface ClassOfOrganizationComponent + extends ClassOfStateOfOrganizationComponent, ClassOfSystemComponent, ClassOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfParticipant.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfParticipant.java new file mode 100755 index 00000000..c4cc4f03 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfParticipant.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfPhysicalObject} that is {@link Participant} or any of its subsets. + */ +public interface ClassOfParticipant extends ClassOfStateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfParty.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfParty.java new file mode 100755 index 00000000..38ad9319 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfParty.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSystem} that is {@link Party} or any of its subtypes. + */ +public interface ClassOfParty extends ClassOfSystem, ClassOfStateOfParty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPeriodOfTime.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPeriodOfTime.java new file mode 100755 index 00000000..a1dbd984 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPeriodOfTime.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} that is {@link PeriodOfTime} or any of its subsets. + */ +public interface ClassOfPeriodOfTime extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPerson.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPerson.java new file mode 100755 index 00000000..1deee0f9 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPerson.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfBiologicalSystem}, {@link ClassOfStateOfPerson} and {@link ClassOfParty} that is + * {@link Person} or any of its subsets. + */ +public interface ClassOfPerson extends ClassOfBiologicalSystem, ClassOfStateOfPerson, ClassOfParty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPersonInPosition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPersonInPosition.java new file mode 100755 index 00000000..8b3ad676 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPersonInPosition.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfInstalledObject} that is also a {@link ClassOfStateOfPosition} that is + * {@link PersonInPosition} or any of its subsets. + */ +public interface ClassOfPersonInPosition extends ClassOfInstalledObject, ClassOfStateOfPosition { +} diff --git a/src/test/java/uk/gov/gchq/magmacore/AppTest.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalObject.java old mode 100644 new mode 100755 similarity index 68% rename from src/test/java/uk/gov/gchq/magmacore/AppTest.java rename to hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalObject.java index 72e21d56..fdde388a --- a/src/test/java/uk/gov/gchq/magmacore/AppTest.java +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalObject.java @@ -12,21 +12,11 @@ * the License. */ -package uk.gov.gchq.magmacore; - -import static org.junit.Assert.assertTrue; - -import org.junit.Test; +package uk.gov.gchq.magmacore.hqdm.model; /** - * Unit test for simple App. + * A {@link ClassOfIndividual} and a {@link ClassOfStateOfPhysicalObject} that is + * {@link PhysicalObject} or any of its subsets. */ -public class AppTest { - /** - * Rigorous Test. - */ - @Test - public void shouldAnswerWithTrue() { - assertTrue(true); - } +public interface ClassOfPhysicalObject extends ClassOfIndividual, ClassOfStateOfPhysicalObject { } diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalProperty.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalProperty.java new file mode 100755 index 00000000..8e0b1913 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalProperty.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfClassOfSpatioTemporalExtent} that is {@link PhysicalProperty} or any of its + * subsets. + */ +public interface ClassOfPhysicalProperty extends ClassOfClassOfSpatioTemporalExtent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalQuantity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalQuantity.java new file mode 100755 index 00000000..797d53a2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPhysicalQuantity.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfPhysicalProperty} that is {@link PhysicalQuantity} or any of its subsets. + */ +public interface ClassOfPhysicalQuantity extends ClassOfPhysicalProperty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPointInTime.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPointInTime.java new file mode 100755 index 00000000..c8215441 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPointInTime.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfEvent} that is {@link PointInTime} or any of its subsets. + */ +public interface ClassOfPointInTime extends ClassOfEvent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPosition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPosition.java new file mode 100755 index 00000000..8ba9388a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPosition.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfPosition} that is also a {@link ClassOfOrganizationComponent} that is + * {@link Position} or any of its subsets. + */ +public interface ClassOfPosition extends ClassOfStateOfPosition, ClassOfOrganizationComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPossibleWorld.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPossibleWorld.java new file mode 100755 index 00000000..e414a8ff --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfPossibleWorld.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfIndividual} that is also a {@link ClassOfPeriodOfTime} that is + * {@link PossibleWorld} or any of its subsets. + */ +public interface ClassOfPossibleWorld extends ClassOfIndividual, ClassOfPeriodOfTime { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfReachingAgreement.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfReachingAgreement.java new file mode 100755 index 00000000..03b545e4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfReachingAgreement.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSociallyConstructedActivity} that is {@link ReachingAgreement} or any of its + * subsets. + */ +public interface ClassOfReachingAgreement extends ClassOfSociallyConstructedActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfRelationship.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfRelationship.java new file mode 100755 index 00000000..bfbff48e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfRelationship.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Class} that is {@link Relationship} or any of its subsets. + */ +public interface ClassOfRelationship extends ClassOfAbstractObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfRepresentation.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfRepresentation.java new file mode 100755 index 00000000..30cc6e19 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfRepresentation.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfAssociation} that is {@link ClassOfRepresentation} or any of its subsets. This is + * omitted, in error, in the original HQDM documentation. + */ +public interface ClassOfRepresentation extends ClassOfAssociation { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSalesProductInstance.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSalesProductInstance.java new file mode 100755 index 00000000..378483f3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSalesProductInstance.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSalesProductInstance} that is also a + * {@link ClassOfOrdinaryFunctionalObject} that is {@link SalesProductInstance} or any of its + * subsets. + */ +public interface ClassOfSalesProductInstance + extends ClassOfStateOfSalesProductInstance, ClassOfOrdinaryFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSign.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSign.java new file mode 100755 index 00000000..534999d4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSign.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSign} that is also a {@link ClassOfSociallyConstructedObject} that is + * {@link Sign} or any of its subsets. + */ +public interface ClassOfSign extends ClassOfStateOfSign, ClassOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSociallyConstructedActivity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSociallyConstructedActivity.java new file mode 100755 index 00000000..8d728481 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSociallyConstructedActivity.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSociallyConstructedObject} and {@link ClassOfActivity} that is + * {@link SociallyConstructedObject} or any of its subsets. + */ +public interface ClassOfSociallyConstructedActivity extends ClassOfActivity, ClassOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSociallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSociallyConstructedObject.java new file mode 100755 index 00000000..54f4b00b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSociallyConstructedObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfIntentionallyConstructedObject} that is {@link SociallyConstructedObject} or any + * of its subsets. + */ +public interface ClassOfSociallyConstructedObject + extends ClassOfIntentionallyConstructedObject, ClassOfStateOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSpatioTemporalExtent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSpatioTemporalExtent.java new file mode 100755 index 00000000..1835a088 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSpatioTemporalExtent.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Class} that is {@link SpatioTemporalExtent} or any of its subsets. + */ +public interface ClassOfSpatioTemporalExtent extends Class { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfState.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfState.java new file mode 100755 index 00000000..ccb165ec --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfState.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSpatioTemporalExtent} that is {@link State} or any of its subsets. + */ +public interface ClassOfState extends ClassOfSpatioTemporalExtent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfActivity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfActivity.java new file mode 100755 index 00000000..be7c8532 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfActivity.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} that is {@link StateOfActivity} or any of its subsets. + */ +public interface ClassOfStateOfActivity extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfAmountOfMoney.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfAmountOfMoney.java new file mode 100755 index 00000000..71546716 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfAmountOfMoney.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSociallyConstructedObject} that is also a + * {@link ClassOfStateOfPhysicalObject} that is {@link StateOfAmountOfMoney} or one of its subsets. + */ +public interface ClassOfStateOfAmountOfMoney + extends ClassOfStateOfSociallyConstructedObject, ClassOfStateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfAssociation.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfAssociation.java new file mode 100755 index 00000000..4f7372fa --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfAssociation.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} that is {@link StateOfAssociation} or any of its subsets. + */ +public interface ClassOfStateOfAssociation extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalObject.java new file mode 100755 index 00000000..1b60626c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfPhysicalObject} that is {@link StateOfBiologicalObject} or any of its + * subsets. + */ +public interface ClassOfStateOfBiologicalObject extends ClassOfStateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalSystem.java new file mode 100755 index 00000000..82da29fa --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrdinaryBiologicalObject} and {@link ClassOfStateOfSystem} that is + * {@link StateOfBiologicalSystem} or any of its subsets. + */ +public interface ClassOfStateOfBiologicalSystem extends ClassOfStateOfOrdinaryBiologicalObject, ClassOfStateOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalSystemComponent.java new file mode 100755 index 00000000..b8b4855b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfBiologicalSystemComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfBiologicalObject} and {@link ClassOfStateOfSystemComponent} that is + * {@link StateOfBiologicalSystemComponent} or any of its subsets. + */ +public interface ClassOfStateOfBiologicalSystemComponent + extends ClassOfStateOfBiologicalObject, ClassOfStateOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalObject.java new file mode 100755 index 00000000..5fa864cf --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfPhysicalObject} and {@link ClassOfStateOfIntentionallyConstructedObject} + * that is {@link StateOfFunctionalObject} or any of its subsets. + */ +public interface ClassOfStateOfFunctionalObject + extends ClassOfStateOfPhysicalObject, ClassOfStateOfIntentionallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalSystem.java new file mode 100755 index 00000000..b53a6a8a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrdinaryFunctionalObject} that is also a {@link ClassOfStateOfSystem} that + * is {@link StateOfFunctionalSystem} or any of its subsets. + */ +public interface ClassOfStateOfFunctionalSystem extends ClassOfStateOfOrdinaryFunctionalObject, ClassOfStateOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalSystemComponent.java new file mode 100755 index 00000000..44d8f1ef --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfFunctionalSystemComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfFunctionalObject} that is also a {@link ClassOfStateOfSystemComponent} + * that is {@link ClassOfStateOfFunctionalSystemComponent} or any of its subsets. + */ +public interface ClassOfStateOfFunctionalSystemComponent + extends ClassOfStateOfFunctionalObject, ClassOfStateOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfIntentionallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfIntentionallyConstructedObject.java new file mode 100755 index 00000000..5df0224b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfIntentionallyConstructedObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} that is {@link StateOfIntentionallyConstructedObject} or any of its + * subsets. + */ +public interface ClassOfStateOfIntentionallyConstructedObject extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryBiologicalObject.java new file mode 100755 index 00000000..40bcf528 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryBiologicalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfBiologicalObject} that is also a + * {@link ClassOfStateOfOrdinaryPhysicalObject} that is {@link StateOfOrdinaryBiologicalObject} or + * any of its subsets. + */ +public interface ClassOfStateOfOrdinaryBiologicalObject + extends ClassOfStateOfBiologicalObject, ClassOfStateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryFunctionalObject.java new file mode 100755 index 00000000..8f742700 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryFunctionalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfFunctionalObject} that is also a + * {@link ClassOfStateOfOrdinaryPhysicalObject} that is {@link StateOfOrdinaryFunctionalObject} or + * any of its subsets. + */ +public interface ClassOfStateOfOrdinaryFunctionalObject + extends ClassOfStateOfFunctionalObject, ClassOfStateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryPhysicalObject.java new file mode 100755 index 00000000..77d60b68 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrdinaryPhysicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfPhysicalObject} that is {@link StateOfOrdinaryPhysicalObject} or any of + * its subsets. + */ +public interface ClassOfStateOfOrdinaryPhysicalObject extends ClassOfStateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrganization.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrganization.java new file mode 100755 index 00000000..5a1ef6c1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrganization.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSociallyConstructedObject} that is also a {@link ClassOfStateOfParty} that + * is {@link StateOfOrganization} or any of its subsets. + */ +public interface ClassOfStateOfOrganization extends ClassOfStateOfSociallyConstructedObject, ClassOfStateOfParty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrganizationComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrganizationComponent.java new file mode 100755 index 00000000..69d86759 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfOrganizationComponent.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSystemComponent} that is also a + * {@link ClassOfStateOfSociallyConstructedObject} that is {@link StateOfOrganizationComponent} or + * any of its subsets. + */ +public interface ClassOfStateOfOrganizationComponent + extends ClassOfStateOfSystemComponent, ClassOfStateOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfParty.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfParty.java new file mode 100755 index 00000000..59f3ee75 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfParty.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSystem} that is {@link StateOfParty} or any of its subtypes. + */ +public interface ClassOfStateOfParty extends ClassOfStateOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPerson.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPerson.java new file mode 100755 index 00000000..377a32d2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPerson.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfBiologicalSystem} and {@link ClassOfStateOfParty} that is + * {@link StateOfPerson} or any of its subsets. + */ +public interface ClassOfStateOfPerson extends ClassOfStateOfBiologicalSystem, ClassOfStateOfParty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPhysicalObject.java new file mode 100755 index 00000000..c952b735 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPhysicalObject.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} that is {@link StateOfPhysicalObject} or any of its subsets. + */ +public interface ClassOfStateOfPhysicalObject extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPosition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPosition.java new file mode 100755 index 00000000..8db6253b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfPosition.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrganizationComponent} that is {@link StateOfPosition} and any of its + * subsets. + */ +public interface ClassOfStateOfPosition extends ClassOfStateOfOrganizationComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSalesProductInstance.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSalesProductInstance.java new file mode 100755 index 00000000..1add7f07 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSalesProductInstance.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrdinaryFunctionalObject} that is {@link StateOfSalesProductInstance} or + * any of its subsets. + */ +public interface ClassOfStateOfSalesProductInstance extends ClassOfStateOfOrdinaryFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSign.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSign.java new file mode 100755 index 00000000..21476bcd --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSign.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSociallyConstructedObject} that is {@link StateOfSign} or any of its + * subsets. + */ +public interface ClassOfStateOfSign extends ClassOfStateOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSociallyConstructedActivity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSociallyConstructedActivity.java new file mode 100755 index 00000000..d73579e4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSociallyConstructedActivity.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSociallyConstructedObject} that is + * {@link StateOfSociallyConstructedObject} or any of its subsets. + */ +public interface ClassOfStateOfSociallyConstructedActivity + extends ClassOfStateOfSociallyConstructedObject, ClassOfStateOfActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSociallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSociallyConstructedObject.java new file mode 100755 index 00000000..eb730934 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSociallyConstructedObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfIntentionallyConstructedObject} that is + * {@link StateOfSociallyConstructedObject} or one of its subsets. + */ +public interface ClassOfStateOfSociallyConstructedObject extends ClassOfStateOfIntentionallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSystem.java new file mode 100755 index 00000000..fd80066d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfOrdinaryPhysicalObject} that is {@link StateOfSystem} or any of its + * subsets. + */ +public interface ClassOfStateOfSystem extends ClassOfStateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSystemComponent.java new file mode 100755 index 00000000..610e3d64 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfStateOfSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfPhysicalObject} that is {@link StateOfSystemComponent} or any of its + * subsets. + */ +public interface ClassOfStateOfSystemComponent extends ClassOfStateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSystem.java new file mode 100755 index 00000000..5912d53c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSystem} that is also a {@link ClassOfOrdinaryPhysicalObject} that is + * {@link System} or any of its subsets. + */ +public interface ClassOfSystem extends ClassOfStateOfSystem, ClassOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSystemComponent.java new file mode 100755 index 00000000..9ae62d8a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ClassOfSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfStateOfSystemComponent} that is also a {@link ClassOfPhysicalObject} that is + * {@link SystemComponent} or any of its subsets. + */ +public interface ClassOfSystemComponent extends ClassOfStateOfSystemComponent, ClassOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Classification.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Classification.java new file mode 100755 index 00000000..3e5f4a00 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Classification.java @@ -0,0 +1,25 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Relationship} where a {@link Thing} is a member of a class{@link Class}. + * + *+ * Note: This entity type is replicated as the {@code member__of} relationship. + *
+ */ +public interface Classification extends Relationship { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Composition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Composition.java new file mode 100755 index 00000000..4605f251 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Composition.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Aggregation} where the {@code whole} is an arrangement of the parts that results in + * emergent properties. + */ +public interface Composition extends Aggregation { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ContractExecution.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ContractExecution.java new file mode 100755 index 00000000..cbd18fc6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ContractExecution.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link AgreementExecution} that is the provision of some {@link Thing} in exchange for some + * consideration. + */ +public interface ContractExecution extends AgreementExecution { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ContractProcess.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ContractProcess.java new file mode 100755 index 00000000..c9006329 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ContractProcess.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link AgreementProcess} that consists of an {@link AgreeContract} and a + * {@link ContractExecution}. + */ +public interface ContractProcess extends AgreementProcess { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Currency.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Currency.java new file mode 100755 index 00000000..0f32a556 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Currency.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfAmountOfMoney} that is the subset of {@link AmountOfMoney} that has as members + * all the money issued by an issuing authority. + */ +public interface Currency extends ClassOfAmountOfMoney { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/DefinedRelationship.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/DefinedRelationship.java new file mode 100755 index 00000000..0317e816 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/DefinedRelationship.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Relationship} that is defined by a {@link KindOfRelationshipWithSignature}. + */ +public interface DefinedRelationship extends Relationship { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Definition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Definition.java new file mode 100755 index 00000000..a23ea88b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Definition.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link RepresentationByPattern} that defines a {@link Class}. + */ +public interface Definition extends RepresentationByPattern { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Description.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Description.java new file mode 100755 index 00000000..ac800731 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Description.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link RepresentationByPattern} that describes some {@link Thing}. + */ +public interface Description extends RepresentationByPattern { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employee.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employee.java new file mode 100755 index 00000000..f0183043 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employee.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfPerson} that is a {@code participant_in} an {@link Employment}. + */ +public interface Employee extends StateOfPerson, Participant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employer.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employer.java new file mode 100755 index 00000000..3544bf5b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employer.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfParty} that is a {@code participant_in} an {@link Employment}. + */ +public interface Employer extends StateOfParty, Participant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employment.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employment.java new file mode 100755 index 00000000..c65a76c6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Employment.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Association} that consists of an {@link Employer} and an {@link Employee} where the + * {@link Employer} pays the {@link Employee} to work for them. + */ +public interface Employment extends Association { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/EndingOfOwnership.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/EndingOfOwnership.java new file mode 100755 index 00000000..091d9a86 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/EndingOfOwnership.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Event} that is the {@code ending} of an {@link Ownership}. + */ +public interface EndingOfOwnership extends Event { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/EnumeratedClass.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/EnumeratedClass.java new file mode 100755 index 00000000..ec818a8a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/EnumeratedClass.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Class} where each {@code member__of} the {@link Class} is known. + */ +public interface EnumeratedClass extends Class { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Event.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Event.java new file mode 100755 index 00000000..a88e244f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Event.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SpatioTemporalExtent} that has zero temporal thickness and may bound some + * {@link SpatioTemporalExtent}. + */ +public interface Event extends SpatioTemporalExtent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ExchangeOfGoodsAndMoney.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ExchangeOfGoodsAndMoney.java new file mode 100755 index 00000000..af7b0e17 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ExchangeOfGoodsAndMoney.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link AgreementExecution} that consists of a {@link TransferOfOwnership} of goods and a + * {@link TransferOfOwnershipOfMoney}. + */ +public interface ExchangeOfGoodsAndMoney extends ContractExecution { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Function_.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Function_.java new file mode 100755 index 00000000..e5139526 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Function_.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A one-to-many {@link Relationship}. + */ +public interface Function_ extends Relationship { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalObject.java new file mode 100755 index 00000000..993dc501 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link IntentionallyConstructedObject} that is also a {@link PhysicalObject} that has an + * {@code intended_role}. + */ +public interface FunctionalObject extends IntentionallyConstructedObject, StateOfFunctionalObject, PhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalSystem.java new file mode 100755 index 00000000..117011b1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * Any {@link StateOfFunctionalSystem} that is also an {@link OrdinaryFunctionalObject} and a + * {@link System}. + */ +public interface FunctionalSystem extends System, StateOfFunctionalSystem, OrdinaryFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalSystemComponent.java new file mode 100755 index 00000000..12d8e368 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/FunctionalSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link IntentionallyConstructedObject} that is a replaceable {@code component_of} a + * {@link FunctionalSystem}. + */ +public interface FunctionalSystemComponent extends FunctionalObject, StateOfFunctionalSystemComponent, SystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Identification.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Identification.java new file mode 100755 index 00000000..ef908a65 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Identification.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link RepresentationByPattern} that is a surrogate for the {@link Thing} {@code represented}. + */ +public interface Identification extends RepresentationByPattern { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/IdentificationOfPhysicalQuantity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/IdentificationOfPhysicalQuantity.java new file mode 100755 index 00000000..399942b5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/IdentificationOfPhysicalQuantity.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Identification} that identifies a {@link PhysicalQuantity}. An + * {@link IdentificationOfPhysicalQuantity} consists of a REAL that is a representation of the + * {@code value_} the physical quantity maps to on the {@link Scale}. + */ +public interface IdentificationOfPhysicalQuantity extends Identification { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InPlaceBiologicalComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InPlaceBiologicalComponent.java new file mode 100755 index 00000000..368584ff --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InPlaceBiologicalComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link InstalledObject} that is also a {@link StateOfOrdinaryBiologicalObject} and a + * {@link StateOfSystemComponent}. + */ +public interface InPlaceBiologicalComponent + extends StateOfBiologicalSystemComponent, InstalledObject, StateOfOrdinaryBiologicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Individual.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Individual.java new file mode 100755 index 00000000..837547d1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Individual.java @@ -0,0 +1,27 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SpatioTemporalExtent} that is not a proper {@code temporal_part_of} any other + * {@link Individual} of the same kind. + * + *+ * Note: In standard mereology a {@link SpatioTemporalExtent} is a part of itself. Parts of an + * {@link Individual} excluding itself are called proper parts. + *
+ */ +public interface Individual extends State { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InstalledFunctionalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InstalledFunctionalSystemComponent.java new file mode 100755 index 00000000..2384560b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InstalledFunctionalSystemComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * Any {@link InstalledObject} that is also a {@link StateOfOrdinaryFunctionalObject} and a + * {@link StateOfFunctionalSystemComponent}. + */ +public interface InstalledFunctionalSystemComponent + extends StateOfFunctionalSystemComponent, InstalledObject, StateOfOrdinaryFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InstalledObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InstalledObject.java new file mode 100755 index 00000000..9b87b27e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/InstalledObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrdinaryPhysicalObject} that is also a {@link StateOfSystemComponent} that is a + * {@code temporal_part_of} an {@link OrdinaryPhysicalObject} from when it is installed as a + * {@link SystemComponent} to when it is removed. + */ +public interface InstalledObject extends StateOfOrdinaryPhysicalObject, StateOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/IntentionallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/IntentionallyConstructedObject.java new file mode 100755 index 00000000..e533d1a2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/IntentionallyConstructedObject.java @@ -0,0 +1,27 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Individual} and {@link StateOfIntentionallyConstructedObject} that is intentionally + * constructed. + * + *+ * Note: being intentionally constructed means that it is an act of will or agreement that makes it + * what it is. + *
+ */ +public interface IntentionallyConstructedObject extends Individual, StateOfIntentionallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfActivity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfActivity.java new file mode 100755 index 00000000..f038b26c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfActivity.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfActivity} all of whose members are of the same kind. + */ +public interface KindOfActivity extends ClassOfActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfAssociation.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfAssociation.java new file mode 100755 index 00000000..303e1496 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfAssociation.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfAssociation} where all the members are of the same kind. + */ +public interface KindOfAssociation extends ClassOfAssociation { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalObject.java new file mode 100755 index 00000000..d81ce173 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfBiologicalObject} and a {@link KindOfPhysicalObject} where each {@code member_of} + * a {@link KindOfBiologicalObject} is of the same kind. + */ +public interface KindOfBiologicalObject extends ClassOfBiologicalObject, KindOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalSystem.java new file mode 100755 index 00000000..c576f1cb --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfBiologicalSystem} that is also a {@link KindOfSystem} all of whose members have a + * natural {@link Role} that they play. + */ +public interface KindOfBiologicalSystem extends ClassOfBiologicalSystem, KindOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalSystemComponent.java new file mode 100755 index 00000000..c1e8a47f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfBiologicalSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfBiologicalSystemComponent} that is also a {@link KindOfSystemComponent} where all + * the member components play the same {@link Role} in some {@link BiologicalSystem}. + */ +public interface KindOfBiologicalSystemComponent extends ClassOfBiologicalSystemComponent, KindOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalObject.java new file mode 100755 index 00000000..1875b83f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfFunctionalObject}, that is also a {@link KindOfPhysicalObject}, and a + * {@link KindOfIntentionallyConstructedObject} where each {@code member_of} a + * {@link KindOfFunctionalObject} is of the same kind. + */ +public interface KindOfFunctionalObject + extends ClassOfFunctionalObject, KindOfPhysicalObject, KindOfIntentionallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalSystem.java new file mode 100755 index 00000000..9cd81da1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfFunctionalSystem} that is also a {@link KindOfSystem} where each + * {@link KindOfFunctionalSystem} has members that are of the same kind. + */ +public interface KindOfFunctionalSystem extends ClassOfFunctionalSystem, KindOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalSystemComponent.java new file mode 100755 index 00000000..8bf1c507 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfFunctionalSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfFunctionalSystemComponent} that is also a {@link KindOfSystemComponent} where + * each {@code member_of} a {@link KindOfFunctionalSystemComponent} is of the same kind. + */ +public interface KindOfFunctionalSystemComponent extends ClassOfFunctionalSystemComponent, KindOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfIndividual.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfIndividual.java new file mode 100755 index 00000000..3b26450f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfIndividual.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfIndividual} where all the members possess attributes in common. + */ +public interface KindOfIndividual extends ClassOfIndividual { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfIntentionallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfIntentionallyConstructedObject.java new file mode 100755 index 00000000..63ca2db8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfIntentionallyConstructedObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfIntentionallyConstructedObject} that is also a {@link KindOfIndividual} where + * each {@code member_of} a {@link KindOfIntentionallyConstructedObject} is of the same kind. + */ +public interface KindOfIntentionallyConstructedObject extends ClassOfIntentionallyConstructedObject, KindOfIndividual { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryBiologicalObject.java new file mode 100755 index 00000000..62a6b5c0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryBiologicalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfOrdinaryBiologicalObject} a {@link KindOfOrdinaryPhysicalObject} and a + * {@link KindOfBiologicalObject} where each {@code member_of} a + * {@link KindOfOrdinaryBiologicalObject} is of the same kind. + */ +public interface KindOfOrdinaryBiologicalObject + extends ClassOfOrdinaryBiologicalObject, KindOfBiologicalObject, KindOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryFunctionalObject.java new file mode 100755 index 00000000..8de2a5ca --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryFunctionalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfOrdinaryBiologicalObject}, that is also a {@link KindOfOrdinaryPhysicalObject}, + * and a {@link KindOfBiologicalObject} where each {@code member_of} a + * {@link KindOfOrdinaryBiologicalObject} is of the same kind. + */ +public interface KindOfOrdinaryFunctionalObject + extends ClassOfOrdinaryFunctionalObject, KindOfOrdinaryPhysicalObject, KindOfFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryPhysicalObject.java new file mode 100755 index 00000000..e57b86d4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrdinaryPhysicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfOrdinaryPhysicalObject} that is also a {@link KindOfPhysicalObject} where each + * {@link OrdinaryPhysicalObject} has members that are of the same kind. + */ +public interface KindOfOrdinaryPhysicalObject extends ClassOfOrdinaryPhysicalObject, KindOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrganization.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrganization.java new file mode 100755 index 00000000..4e23a7e3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrganization.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfOrdinaryPhysicalObject} that is also a {@link KindOfPhysicalObject} where each + * {@link OrdinaryPhysicalObject} has members that are of the same kind. + */ +public interface KindOfOrganization extends ClassOfOrganization, KindOfParty, KindOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrganizationComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrganizationComponent.java new file mode 100755 index 00000000..4ec8aa9b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfOrganizationComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfOrganizationComponent} that is also a {@link KindOfSystemComponent} whose members + * are all of the same kind. + */ +public interface KindOfOrganizationComponent + extends ClassOfOrganizationComponent, KindOfSystemComponent, KindOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfParty.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfParty.java new file mode 100755 index 00000000..0b016bbe --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfParty.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfParty} that is also a {@link KindOfSystem} where all the members are of the same + * kind. + */ +public interface KindOfParty extends ClassOfParty, KindOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPerson.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPerson.java new file mode 100755 index 00000000..de6239ac --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPerson.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfPerson} that is also a {@link KindOfParty} whose members are all of the same + * kind. + */ +public interface KindOfPerson extends KindOfParty, ClassOfPerson { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalObject.java new file mode 100755 index 00000000..7f0c4b05 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfPhysicalObject} that is also a {@link KindOfIndividual} where each + * {@link PhysicalObject} has members that are of the same kind. + */ +public interface KindOfPhysicalObject extends ClassOfPhysicalObject, KindOfIndividual { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalProperty.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalProperty.java new file mode 100755 index 00000000..bd733f47 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalProperty.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfPhysicalProperty} where each {@code member_of} a {@link KindOfPhysicalProperty} + * is of the same kind. + */ +public interface KindOfPhysicalProperty extends ClassOfPhysicalProperty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalQuantity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalQuantity.java new file mode 100755 index 00000000..d936bf48 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPhysicalQuantity.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfPhysicalQuantity} that is also a {@link KindOfPhysicalProperty} such that each + * {@code member_of} the same {@link KindOfPhysicalQuantity} is comparable to the others. + */ +public interface KindOfPhysicalQuantity extends ClassOfPhysicalQuantity, KindOfPhysicalProperty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPosition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPosition.java new file mode 100755 index 00000000..eab4c2c7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfPosition.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfPosition} that is also a {@link KindOfOrganizationComponent} where all the + * members are of the same kind. + */ +public interface KindOfPosition extends ClassOfPosition, KindOfOrganizationComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfRelationshipWithRestriction.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfRelationshipWithRestriction.java new file mode 100755 index 00000000..c85eb6b1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfRelationshipWithRestriction.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link KindOfRelationshipWithSignature} where one or more {@code roles} have fixed players. + */ +public interface KindOfRelationshipWithRestriction extends KindOfRelationshipWithSignature { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfRelationshipWithSignature.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfRelationshipWithSignature.java new file mode 100755 index 00000000..d5887504 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfRelationshipWithSignature.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfRelationship} that is a subset of {@link DefinedRelationship} type where the + * {@link Classification}s involved in each {@link DefinedRelationship} have as {@code classifier}s + * the {@code roles} specified by the {@link KindOfRelationshipWithSignature}. + */ +public interface KindOfRelationshipWithSignature extends ClassOfRelationship { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSociallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSociallyConstructedObject.java new file mode 100755 index 00000000..90485eac --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSociallyConstructedObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSociallyConstructedObject} that is also a + * {@link KindOfIntentionallyConstructedObject} where each {@link KindOfSociallyConstructedObject} + * has members that are of the same kind. + */ +public interface KindOfSociallyConstructedObject + extends ClassOfSociallyConstructedObject, KindOfIntentionallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSystem.java new file mode 100755 index 00000000..aa1ad792 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSystem} that is also a {@link KindOfOrdinaryPhysicalObject} where each + * {@code member_of} a {@link KindOfSystem} is of the same kind. + */ +public interface KindOfSystem extends ClassOfSystem, KindOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSystemComponent.java new file mode 100755 index 00000000..42688f0d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/KindOfSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSystemComponent} that is also a {@link KindOfPhysicalObject} where all the + * members are of the same kind. + */ +public interface KindOfSystemComponent extends ClassOfSystemComponent, KindOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/LanguageCommunity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/LanguageCommunity.java new file mode 100755 index 00000000..5c9c92f5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/LanguageCommunity.java @@ -0,0 +1,26 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Organization} that is a group of people who share a common understanding of a set of + * {@link Sign}s. + * + *+ * Note: This is not restricted to natural languages, but also controlled languages, taxonomies etc. + *
+ */ +public interface LanguageCommunity extends StateOfLanguageCommunity, Organization { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/MoneyAsset.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/MoneyAsset.java new file mode 100755 index 00000000..2cc092f6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/MoneyAsset.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Asset} that is a {@link StateOfAmountOfMoney}. + */ +public interface MoneyAsset extends Asset, StateOfAmountOfMoney { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Offer.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Offer.java new file mode 100755 index 00000000..ee11a9ec --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Offer.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SociallyConstructedActivity} that proposes an exchange of some {@link Thing} for some + * consideration. + */ +public interface Offer extends SociallyConstructedActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OfferAndAcceptanceForGoods.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OfferAndAcceptanceForGoods.java new file mode 100755 index 00000000..89594979 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OfferAndAcceptanceForGoods.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ReachingAgreement} that {@code consists_of} exactly one {@link Offer} of a + * {@link TransferOfOwnershipOfMoney} for exactly one {@link TransferOfOwnership} that is accepted. + */ +public interface OfferAndAcceptanceForGoods extends AgreeContract { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OfferForGoods.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OfferForGoods.java new file mode 100755 index 00000000..3128bda7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OfferForGoods.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Offer} of an {@link ExchangeOfGoodsAndMoney}. + */ +public interface OfferForGoods extends Offer { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Offering.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Offering.java new file mode 100755 index 00000000..a79da34b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Offering.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfOffer} that is for a {@link ClassOfIndividual}, at a {@link Price}, by a + * {@link Party}, for a {@link PeriodOfTime}. + */ +public interface Offering extends ClassOfOffer { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryBiologicalObject.java new file mode 100755 index 00000000..d9e8ef34 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryBiologicalObject.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrdinaryBiologicalObject}, a {@link BiologicalObject}, and an + * {@link OrdinaryPhysicalObject} that is a {@link BiologicalObject} that does not survive the + * replacement of all of its parts. + */ +public interface OrdinaryBiologicalObject + extends StateOfOrdinaryBiologicalObject, BiologicalObject, OrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryFunctionalObject.java new file mode 100755 index 00000000..bcf49fa3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryFunctionalObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * Any {@link StateOfOrdinaryFunctionalObject} and {@link OrdinaryPhysicalObject} that is a + * {@link FunctionalObject}. + */ +public interface OrdinaryFunctionalObject + extends FunctionalObject, StateOfOrdinaryFunctionalObject, OrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryPhysicalObject.java new file mode 100755 index 00000000..7370f08f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrdinaryPhysicalObject.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link PhysicalObject} that does not survive changing all its parts at once. + */ +public interface OrdinaryPhysicalObject extends PhysicalObject, StateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Organization.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Organization.java new file mode 100755 index 00000000..4a342d61 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Organization.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrganization}, that is also a {@link Party}, and a + * {@link SociallyConstructedObject} that is an organized body of people. + */ +public interface Organization extends StateOfOrganization, Party, SociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrganizationComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrganizationComponent.java new file mode 100755 index 00000000..5da48f5f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/OrganizationComponent.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrganizationComponent}, {@link SystemComponent}, and + * {@link SociallyConstructedObject} that is a {@code component_of} an {@link Organization} that can + * be completely replaced without losing its identity. + */ +public interface OrganizationComponent + extends StateOfOrganizationComponent, SystemComponent, SociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Owner.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Owner.java new file mode 100755 index 00000000..4d2c6535 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Owner.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfParty} that is also a {@link Participant} that is a {@code participant_in} an + * {@link Ownership}. + */ +public interface Owner extends StateOfParty, Participant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Ownership.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Ownership.java new file mode 100755 index 00000000..20ff5163 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Ownership.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Association} that {@code consists_of} an {@link Owner} and an {@link Asset} where the + * {@link Owner} owns the {@link Asset}. + */ +public interface Ownership extends Association { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Participant.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Participant.java new file mode 100755 index 00000000..bdcf8cb7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Participant.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link State} that is a {@code participant_in} an {@link Activity} or {@link Association}. + */ +public interface Participant extends StateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ParticipantInActivityOrAssociation.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ParticipantInActivityOrAssociation.java new file mode 100755 index 00000000..3f267e9f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ParticipantInActivityOrAssociation.java @@ -0,0 +1,24 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +import uk.gov.gchq.magmacore.hqdm.pojo.Top; + +/** + * A SELECT where a {@link Participant} may be a {@code participant_in} an {@link Activity} or an + * {@link Association}. + */ +public interface ParticipantInActivityOrAssociation extends Top { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Party.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Party.java new file mode 100755 index 00000000..2471a6b8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Party.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfParty} that is also a {@link System} that is a {@link Person} or an + * {@link Organization}. + */ +public interface Party extends StateOfParty, System { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Pattern.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Pattern.java new file mode 100755 index 00000000..a2d8b371 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Pattern.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSign} where all the {@link Sign}s are of the same {@link Pattern}. + */ +public interface Pattern extends ClassOfSign { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PeriodOfTime.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PeriodOfTime.java new file mode 100755 index 00000000..a8a5f3f1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PeriodOfTime.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link State} that is a {@code temporal_part_of} some {@link PossibleWorld}. + */ +public interface PeriodOfTime extends State { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Person.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Person.java new file mode 100755 index 00000000..5f334201 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Person.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link BiologicalSystem} that is also, a {@link StateOfPerson}, and a {@link Party} that is a + * human being. + */ +public interface Person extends BiologicalSystem, StateOfPerson, Party { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PersonInPosition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PersonInPosition.java new file mode 100755 index 00000000..7ebfceb8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PersonInPosition.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfPosition}, that is also a {@link StateOfPerson}, and an {@link InstalledObject} + * that is a {@link Person} while they are in a {@link Position} and also the {@link Position} while + * it is filled by the {@link Person}. + */ +public interface PersonInPosition extends StateOfPosition, StateOfPerson, InstalledObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalObject.java new file mode 100755 index 00000000..df7865da --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalObject.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Individual} that consists of a distribution of matter and/or energy. + */ +public interface PhysicalObject extends Individual, StateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalProperty.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalProperty.java new file mode 100755 index 00000000..0f185d43 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalProperty.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} that is some characteristic that is the same for each {@link State} that + * possesses it (is a {@code member_of} it). + */ +public interface PhysicalProperty extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalPropertyRange.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalPropertyRange.java new file mode 100755 index 00000000..cc251da2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalPropertyRange.java @@ -0,0 +1,27 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfState} where each member of the set is a member of a {@link PhysicalProperty} + * within the range. + * + *+ * Note: The {@link PhysicalPropertyRange} is a supertype of each {@link PhysicalProperty} in the + * range. + *
+ */ +public interface PhysicalPropertyRange extends ClassOfState { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalQuantity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalQuantity.java new file mode 100755 index 00000000..5159b8f3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalQuantity.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link PhysicalQuantity} is a {@link PhysicalProperty} that is a measurable quantity of a + * {@link KindOfPhysicalProperty}. + */ +public interface PhysicalQuantity extends PhysicalProperty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalQuantityRange.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalQuantityRange.java new file mode 100755 index 00000000..f63109ef --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PhysicalQuantityRange.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link PhysicalPropertyRange} that ranges over {@link PhysicalQuantity} values. + */ +public interface PhysicalQuantityRange extends PhysicalPropertyRange { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Plan.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Plan.java new file mode 100755 index 00000000..6677f95b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Plan.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link PossibleWorld} that some party would like to bring about. + */ +public interface Plan extends PossibleWorld { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PointInTime.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PointInTime.java new file mode 100755 index 00000000..2bcb6aac --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PointInTime.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Event} that is all of space at an instant from some viewpoint. + */ +public interface PointInTime extends Event { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Position.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Position.java new file mode 100755 index 00000000..b00ad7b0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Position.java @@ -0,0 +1,27 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link OrganizationComponent} that is also a {@link StateOfPosition} that may be held by a + * {@link Person}. + * + *+ * Note: Normally a {@link Position} is held by one {@link Person} at a time, but this does not have + * to be the case. + *
+ */ +public interface Position extends OrganizationComponent, StateOfPosition { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PossibleWorld.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PossibleWorld.java new file mode 100755 index 00000000..d0a42a4b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/PossibleWorld.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Individual} that is a complete spatio-temporal history of some possible world. + */ +public interface PossibleWorld extends Individual, PeriodOfTime { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Price.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Price.java new file mode 100755 index 00000000..6bcf735e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Price.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfAmountOfMoney} that is the {@code consideration_by_class} in an {@link Offering}. + */ +public interface Price extends ClassOfAmountOfMoney { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ProductBrand.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ProductBrand.java new file mode 100755 index 00000000..fdaae65d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ProductBrand.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSalesProductInstance} that is a set of {@link SalesProductInstance} sold under a + * brand name. + */ +public interface ProductBrand extends ClassOfSalesProductInstance { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ProductOffering.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ProductOffering.java new file mode 100755 index 00000000..602c3d33 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ProductOffering.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Offering} that is for a {@link SalesProduct}. + */ +public interface ProductOffering extends Offering { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ReachingAgreement.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ReachingAgreement.java new file mode 100755 index 00000000..855f7123 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/ReachingAgreement.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SociallyConstructedActivity} where two or more parties determine a course of action. + */ +public interface ReachingAgreement extends SociallyConstructedActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RecognizingLanguageCommunity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RecognizingLanguageCommunity.java new file mode 100755 index 00000000..097dcd9b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RecognizingLanguageCommunity.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfLanguageCommunity} that recognizes what a {@link Pattern} is intended to + * represent. + */ +public interface RecognizingLanguageCommunity extends StateOfLanguageCommunity, Participant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Relationship.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Relationship.java new file mode 100755 index 00000000..068c0d7b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Relationship.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link AbstractObject} that is what one {@link Thing} has to do with one or more others. + */ +public interface Relationship extends AbstractObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RepresentationByPattern.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RepresentationByPattern.java new file mode 100755 index 00000000..7c50128e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RepresentationByPattern.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfRepresentation} where the {@link Sign} in all the members are members of the + * {@link Pattern} specified. + */ +public interface RepresentationByPattern extends ClassOfRepresentation { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RepresentationBySign.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RepresentationBySign.java new file mode 100755 index 00000000..4b61da96 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RepresentationBySign.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link Association} of a {@link Sign} and a {@link RecognizingLanguageCommunity} that + * recognizes the {@link Sign} as representing some {@link Thing}. + */ +public interface RepresentationBySign extends Association { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Requirement.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Requirement.java new file mode 100755 index 00000000..16457fcf --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Requirement.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SpatioTemporalExtent} that is {@code part_of_plan} at least one {@link Plan} and is + * {@code defined_by} exactly one {@link RequirementSpecification}. + */ +public interface Requirement extends SpatioTemporalExtent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RequirementSpecification.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RequirementSpecification.java new file mode 100755 index 00000000..b00c7881 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/RequirementSpecification.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSpatioTemporalExtent} that is the {@code intersection_of} one or more + * {@link ClassOfState}. + */ +public interface RequirementSpecification extends ClassOfSpatioTemporalExtent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Role.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Role.java new file mode 100755 index 00000000..35f96c63 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Role.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfParticipant} where each member participates in the same way in an + * {@link Activity} or {@link Association}. + */ +public interface Role extends ClassOfParticipant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SaleOfGoods.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SaleOfGoods.java new file mode 100755 index 00000000..cd3e0519 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SaleOfGoods.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link AgreementProcess} that consists of an {@link OfferAndAcceptanceForGoods} and an + * {@link ExchangeOfGoodsAndMoney}. + */ +public interface SaleOfGoods extends ContractProcess { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProduct.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProduct.java new file mode 100755 index 00000000..a2056de1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProduct.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSalesProductInstance} that is a set of {@link SalesProductInstance} sold under + * the same product name. + */ +public interface SalesProduct extends ClassOfSalesProductInstance { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProductInstance.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProductInstance.java new file mode 100755 index 00000000..57259a78 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProductInstance.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link OrdinaryFunctionalObject} that is produced in order to be sold. + */ +public interface SalesProductInstance extends StateOfSalesProductInstance, OrdinaryFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProductVersion.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProductVersion.java new file mode 100755 index 00000000..1329f7be --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SalesProductVersion.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link ClassOfSalesProductInstance} that is the customer facing specification of a version of a + * {@link SalesProduct}. + */ +public interface SalesProductVersion extends ClassOfSalesProductInstance { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Scale.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Scale.java new file mode 100755 index 00000000..3a318dfe --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Scale.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A scale is a function from {@link KindOfPhysicalQuantity} to the real numbers. + */ +public interface Scale extends Function_ { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Sign.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Sign.java new file mode 100755 index 00000000..d133aede --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Sign.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfSign}, that is also a {@link SociallyConstructedObject}, and a + * {@link Participant} that represents some {@link Thing} for some community in one or more + * {@code representation_by_sign}. + */ +public interface Sign extends SociallyConstructedObject, StateOfSign, Participant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SociallyConstructedActivity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SociallyConstructedActivity.java new file mode 100755 index 00000000..715d8f52 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SociallyConstructedActivity.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * Any {@link SociallyConstructedObject} that is also an {@link Activity}. + */ +public interface SociallyConstructedActivity extends Activity, SociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SociallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SociallyConstructedObject.java new file mode 100755 index 00000000..8a0123ad --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SociallyConstructedObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link IntentionallyConstructedObject} that is necessarily constructed by agreement or at + * least acquiescence of many people. + */ +public interface SociallyConstructedObject extends IntentionallyConstructedObject, StateOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SpatioTemporalExtent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SpatioTemporalExtent.java new file mode 100755 index 00000000..cd6daeaa --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SpatioTemporalExtent.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Thing} that exists in time and space. + */ +public interface SpatioTemporalExtent extends Thing { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Specialization.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Specialization.java new file mode 100755 index 00000000..8a9257a8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Specialization.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Relationship} where each {@code member__of} the {@code subclass} is a {@code member__of} + * the {@code superclass}. + */ +public interface Specialization extends Relationship { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/State.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/State.java new file mode 100755 index 00000000..fc20fef4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/State.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SpatioTemporalExtent} that is an {@link Individual} or a {@code temporal_part_of} some + * {@link Individual}. + */ +public interface State extends SpatioTemporalExtent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfActivity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfActivity.java new file mode 100755 index 00000000..67f8a42a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfActivity.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A state that is an {@link Activity} or a {@code temporal_part_of} an {@link Activity}. + */ +public interface StateOfActivity extends State { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfAmountOfMoney.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfAmountOfMoney.java new file mode 100755 index 00000000..0bdf03a1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfAmountOfMoney.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SociallyConstructedObject} that is also a {@link StateOfPhysicalObject} that is a + * {@code temporal_part_of} an {@link AmountOfMoney}. + */ +public interface StateOfAmountOfMoney extends StateOfSociallyConstructedObject, StateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfAssociation.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfAssociation.java new file mode 100755 index 00000000..d7dfbaed --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfAssociation.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link State} that is an {@link Association} or a {@code temporal_part_of} an + * {@link Association}. + */ +public interface StateOfAssociation extends State { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalObject.java new file mode 100755 index 00000000..47e40fb3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfPhysicalObject} that is a {@link BiologicalObject} or a {@code temporal_part_of} + * a {@link BiologicalObject}. + */ +public interface StateOfBiologicalObject extends StateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalSystem.java new file mode 100755 index 00000000..2c1f64cb --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrdinaryBiologicalObject} and {@link StateOfSystem} that is + * {@link BiologicalSystem} or a {@code temporal_part_of} a {@link BiologicalSystem}. + */ +public interface StateOfBiologicalSystem extends StateOfOrdinaryBiologicalObject, StateOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalSystemComponent.java new file mode 100755 index 00000000..99bd8e3c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfBiologicalSystemComponent.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfBiologicalSystemComponent} and {@link StateOfSystemComponent} that is a + * {@link BiologicalSystemComponent} or a {@code temporal_part_of} a + * {@link BiologicalSystemComponent}. + */ +public interface StateOfBiologicalSystemComponent extends StateOfBiologicalObject, StateOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalObject.java new file mode 100755 index 00000000..3a15d4d9 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfIntentionallyConstructedObject} and {@link StateOfPhysicalObject} that is a + * {@link FunctionalObject} or a {@code temporal_part_of} a {@link FunctionalObject}. + */ +public interface StateOfFunctionalObject extends StateOfIntentionallyConstructedObject, StateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalSystem.java new file mode 100755 index 00000000..96411ff3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalSystem.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * Any {@link StateOfOrdinaryFunctionalObject} that is also a {@link StateOfSystem}. + */ +public interface StateOfFunctionalSystem extends StateOfSystem, StateOfOrdinaryFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalSystemComponent.java new file mode 100755 index 00000000..33b3fc16 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfFunctionalSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfIntentionallyConstructedObject} that is a {@link SystemComponent} or a + * {@code temporal_part_of} a {@link SystemComponent}. + */ +public interface StateOfFunctionalSystemComponent extends StateOfFunctionalObject, StateOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfIntentionallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfIntentionallyConstructedObject.java new file mode 100755 index 00000000..63e0eb4e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfIntentionallyConstructedObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A state that is an {@link IntentionallyConstructedObject} or a {@code temporal_part_of} an + * {@link IntentionallyConstructedObject}. + */ +public interface StateOfIntentionallyConstructedObject extends State { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfLanguageCommunity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfLanguageCommunity.java new file mode 100755 index 00000000..6835eadf --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfLanguageCommunity.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrganization} that is a {@code temporal_part_of} a {@link LanguageCommunity}. + */ +public interface StateOfLanguageCommunity extends StateOfOrganization { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryBiologicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryBiologicalObject.java new file mode 100755 index 00000000..1528bd9f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryBiologicalObject.java @@ -0,0 +1,23 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfBiologicalObject} that is also a {@link StateOfOrdinaryPhysicalObject} that is an + * {@link OrdinaryBiologicalObject} or a {@code temporal_part_of} an + * {@link OrdinaryBiologicalObject}. + */ +public interface StateOfOrdinaryBiologicalObject extends StateOfBiologicalObject, StateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryFunctionalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryFunctionalObject.java new file mode 100755 index 00000000..85a3bbaa --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryFunctionalObject.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * Any {@link StateOfFunctionalObject} that is also a {@link StateOfOrdinaryPhysicalObject}. + */ +public interface StateOfOrdinaryFunctionalObject extends StateOfFunctionalObject, StateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryPhysicalObject.java new file mode 100755 index 00000000..26fa43e6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrdinaryPhysicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfPhysicalObject} that is an {@link OrdinaryPhysicalObject} or a + * {@code temporal_part_of} one. + */ +public interface StateOfOrdinaryPhysicalObject extends StateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrganization.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrganization.java new file mode 100755 index 00000000..3a43e5a8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrganization.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfParty} that is also a {@link StateOfSociallyConstructedObject} that is an + * {@link Organization} or a {@code temporal_part_of} an {@link Organization}. + */ +public interface StateOfOrganization extends StateOfParty, StateOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrganizationComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrganizationComponent.java new file mode 100755 index 00000000..fcb5f38b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfOrganizationComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfSystemComponent} that is also a {@link StateOfSociallyConstructedObject} that is + * a {@code temporal_part_of} an {@link OrganizationComponent}. + */ +public interface StateOfOrganizationComponent extends StateOfSystemComponent, StateOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfParty.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfParty.java new file mode 100755 index 00000000..53188ac4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfParty.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfSystem} that is a {@link Party} or a {@code temporal_part_of} a {@link Party}. + */ +public interface StateOfParty extends StateOfSystem { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPerson.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPerson.java new file mode 100755 index 00000000..728ebc20 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPerson.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfBiologicalSystem} and {@link StateOfParty} that is a {@link Person} or a + * {@code temporal_part_of} a {@link Person}. + */ +public interface StateOfPerson extends StateOfBiologicalSystem, StateOfParty { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPhysicalObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPhysicalObject.java new file mode 100755 index 00000000..c91382e2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPhysicalObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link State} that is a {@link PhysicalObject} or a {@code temporal_part_of} a + * {@link PhysicalObject}. + */ +public interface StateOfPhysicalObject extends State { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPosition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPosition.java new file mode 100755 index 00000000..2ccdc896 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfPosition.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrganizationComponent} that is a {@link Position} or a {@code temporal_part_of} a + * {@link Position}. + */ +public interface StateOfPosition extends StateOfOrganizationComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSalesProductInstance.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSalesProductInstance.java new file mode 100755 index 00000000..81c110c5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSalesProductInstance.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrdinaryFunctionalObject} that is a {@link SalesProductInstance} or a + * {@code temporal_part_of} one. + */ +public interface StateOfSalesProductInstance extends StateOfOrdinaryFunctionalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSign.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSign.java new file mode 100755 index 00000000..35c68f27 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSign.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfSociallyConstructedObject} that is a {@link Sign} or a {@code temporal_part_of} a + * {@link Sign}. + */ +public interface StateOfSign extends StateOfSociallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSociallyConstructedActivity.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSociallyConstructedActivity.java new file mode 100755 index 00000000..b40375fe --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSociallyConstructedActivity.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * Any {@link StateOfSociallyConstructedObject} that is also a {@link StateOfActivity}. + */ +public interface StateOfSociallyConstructedActivity extends StateOfSociallyConstructedObject, StateOfActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSociallyConstructedObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSociallyConstructedObject.java new file mode 100755 index 00000000..9ca7356c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSociallyConstructedObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfIntentionallyConstructedObject} that is a {@link SociallyConstructedObject} or a + * {@code temporal_part_of} a {@link SociallyConstructedObject}. + */ +public interface StateOfSociallyConstructedObject extends StateOfIntentionallyConstructedObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSystem.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSystem.java new file mode 100755 index 00000000..97252185 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSystem.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfOrdinaryPhysicalObject} that is a {@link System} or a {@code temporal_part_of} a + * {@link System}. + */ +public interface StateOfSystem extends StateOfOrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSystemComponent.java new file mode 100755 index 00000000..73605327 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/StateOfSystemComponent.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfPhysicalObject} that is a {@link SystemComponent} or a {@code temporal_part_of} a + * {@link SystemComponent}. + */ +public interface StateOfSystemComponent extends StateOfPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/System.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/System.java new file mode 100755 index 00000000..78ad7d3a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/System.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * An {@link OrdinaryPhysicalObject} that is an organized or connected group of + * {@link PhysicalObject}. + */ +public interface System extends StateOfSystem, OrdinaryPhysicalObject { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SystemComponent.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SystemComponent.java new file mode 100755 index 00000000..d87eaa0c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/SystemComponent.java @@ -0,0 +1,27 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link PhysicalObject} that is a {@code component_of} a {@link System} and that can be + * completely replaced without losing identity. + * + *+ * Note: A {@link SystemComponent} is existence dependent on the {@link System} it is a component + * of, unlike any {@link OrdinaryPhysicalObject} that may be installed as the component. + *
+ */ +public interface SystemComponent extends PhysicalObject, StateOfSystemComponent { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TemporalComposition.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TemporalComposition.java new file mode 100755 index 00000000..0a7f55c8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TemporalComposition.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link Composition} where the part is the entire {@code whole} spatially, but part of the + * {@code whole} temporally. + */ +public interface TemporalComposition extends Composition { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Thing.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Thing.java new file mode 100755 index 00000000..98e515bc --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Thing.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +import uk.gov.gchq.magmacore.hqdm.model.impl.ThingImpl; +import uk.gov.gchq.magmacore.hqdm.pojo.Top; + +/** + * Anything that exists, real or imagined. + */ +public interface Thing extends Top { + /** + * Create a Thing with an String. + * + * @param id the String. + * @return a Thing instance. + */ + public static Thing createThing(final String id) { + return new ThingImpl(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TransferOfOwnership.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TransferOfOwnership.java new file mode 100755 index 00000000..c64e9ae2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TransferOfOwnership.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link SociallyConstructedActivity} that ends one {@link Ownership} and begins another for + * {@link Asset}s that are a {@code temporal_part_of} the same {@link PhysicalObject}. + */ +public interface TransferOfOwnership extends SociallyConstructedActivity { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TransferOfOwnershipOfMoney.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TransferOfOwnershipOfMoney.java new file mode 100755 index 00000000..c1fd3d61 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/TransferOfOwnershipOfMoney.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link TransferOfOwnership} where the {@link Asset} is a {@link MoneyAsset}. + */ +public interface TransferOfOwnershipOfMoney extends TransferOfOwnership { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Transferee.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Transferee.java new file mode 100755 index 00000000..839b1ce5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Transferee.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfParty} and {@link Participant} receiving {@link Ownership} in a + * {@link TransferOfOwnership}. + */ +public interface Transferee extends StateOfParty, Participant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Transferor.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Transferor.java new file mode 100755 index 00000000..d656ff1f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/Transferor.java @@ -0,0 +1,22 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A {@link StateOfParty} that is also a {@link Participant} that is a {@code temporal_part_of} an + * {@link Owner} that is a {@code participant_in} one or more {@link TransferOfOwnership}. + */ +public interface Transferor extends StateOfParty, Participant { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/UnitOfMeasure.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/UnitOfMeasure.java new file mode 100755 index 00000000..5204704d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/UnitOfMeasure.java @@ -0,0 +1,21 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model; + +/** + * A plus one {@link Function_} for a {@link Scale}. + */ +public interface UnitOfMeasure extends Function_ { +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AbstractObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AbstractObjectImpl.java new file mode 100755 index 00000000..f379dff9 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AbstractObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.AbstractObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of AbstractObject. + */ +public class AbstractObjectImpl extends HqdmObject implements AbstractObject { + /** + * Constructs a new AbstractObject. + * + * @param id String of the AbstractObject. + */ + public AbstractObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AcceptanceOfOfferForGoodsImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AcceptanceOfOfferForGoodsImpl.java new file mode 100755 index 00000000..5e36a15e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AcceptanceOfOfferForGoodsImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.AcceptanceOfOfferForGoods; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of AcceptanceOfOfferForGoods. + */ +public class AcceptanceOfOfferForGoodsImpl extends HqdmObject implements AcceptanceOfOfferForGoods { + /** + * Constructs a new AcceptanceOfOfferForGoods. + * + * @param id String of the AcceptanceOfOfferForGoods. + */ + public AcceptanceOfOfferForGoodsImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AcceptanceOfOfferImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AcceptanceOfOfferImpl.java new file mode 100755 index 00000000..c5ce6bae --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AcceptanceOfOfferImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.AcceptanceOfOffer; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of AcceptanceOfOffer. + */ +public class AcceptanceOfOfferImpl extends HqdmObject implements AcceptanceOfOffer { + /** + * Constructs a new AcceptanceOfOffer. + * + * @param id String of the AcceptanceOfOffer. + */ + public AcceptanceOfOfferImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ActivityImpl.java new file mode 100755 index 00000000..6b984729 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Activity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Activity. + */ +public class ActivityImpl extends HqdmObject implements Activity { + /** + * Constructs a new Activity. + * + * @param id String of the Activity. + */ + public ActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AggregationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AggregationImpl.java new file mode 100755 index 00000000..a75ebdcf --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AggregationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Aggregation; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Aggregation. + */ +public class AggregationImpl extends HqdmObject implements Aggregation { + /** + * Constructs a new Aggregation. + * + * @param id String of the Aggregation. + */ + public AggregationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreeContractImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreeContractImpl.java new file mode 100755 index 00000000..8a7e2a63 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreeContractImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.AgreeContract; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of AgreeContract. + */ +public class AgreeContractImpl extends HqdmObject implements AgreeContract { + /** + * Constructs a new AgreeContract. + * + * @param id String of the AgreeContract. + */ + public AgreeContractImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreementExecutionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreementExecutionImpl.java new file mode 100755 index 00000000..6f4e4f46 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreementExecutionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.AgreementExecution; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of AgreementExecution. + */ +public class AgreementExecutionImpl extends HqdmObject implements AgreementExecution { + /** + * Constructs a new AgreementExecution. + * + * @param id String of the AgreementExecution. + */ + public AgreementExecutionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreementProcessImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreementProcessImpl.java new file mode 100755 index 00000000..6c9823c0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AgreementProcessImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.AgreementProcess; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of AgreementProcess. + */ +public class AgreementProcessImpl extends HqdmObject implements AgreementProcess { + /** + * Constructs a new AgreementProcess. + * + * @param id String of the AgreementProcess. + */ + public AgreementProcessImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AmountOfMoneyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AmountOfMoneyImpl.java new file mode 100755 index 00000000..f9cab043 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AmountOfMoneyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.AmountOfMoney; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of AmountOfMoney. + */ +public class AmountOfMoneyImpl extends HqdmObject implements AmountOfMoney { + /** + * Constructs a new AmountOfMoney. + * + * @param id String of the AmountOfMoney. + */ + public AmountOfMoneyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AssetImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AssetImpl.java new file mode 100755 index 00000000..aadcbe4b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AssetImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Asset; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Asset. + */ +public class AssetImpl extends HqdmObject implements Asset { + /** + * Constructs a new Asset. + * + * @param id String of the Asset. + */ + public AssetImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AssociationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AssociationImpl.java new file mode 100755 index 00000000..cb1fc211 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/AssociationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Association; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Association. + */ +public class AssociationImpl extends HqdmObject implements Association { + /** + * Constructs a new Association. + * + * @param id String of the Association. + */ + public AssociationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BeginningOfOwnershipImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BeginningOfOwnershipImpl.java new file mode 100755 index 00000000..a5e7463e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BeginningOfOwnershipImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.BeginningOfOwnership; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of BeginningOfOwnership. + */ +public class BeginningOfOwnershipImpl extends HqdmObject implements BeginningOfOwnership { + /** + * Constructs a BeginningOfOwnership. + * + * @param id String of the BeginningOfOwnership. + */ + public BeginningOfOwnershipImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalObjectImpl.java new file mode 100755 index 00000000..9268ee35 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.BiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of BiologicalObject. + */ +public class BiologicalObjectImpl extends HqdmObject implements BiologicalObject { + /** + * Constructs a new BiologicalObject. + * + * @param id String of the BiologicalObject. + */ + public BiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalSystemComponentImpl.java new file mode 100755 index 00000000..333ec0fd --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.BiologicalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of BiologicalSystemComponent. + */ +public class BiologicalSystemComponentImpl extends HqdmObject implements BiologicalSystemComponent { + /** + * Constructs a new BiologicalSystemComponent. + * + * @param id String of the BiologicalSystemComponent. + */ + public BiologicalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalSystemImpl.java new file mode 100755 index 00000000..70925e69 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/BiologicalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.BiologicalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of BiologicalSystem. + */ +public class BiologicalSystemImpl extends HqdmObject implements BiologicalSystem { + /** + * Constructs a new BiologicalSystem. + * + * @param id String of the BiologicalSystem. + */ + public BiologicalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassImpl.java new file mode 100755 index 00000000..4eaef20a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Class; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Class. + */ +public class ClassImpl extends HqdmObject implements Class { + /** + * Constructs a new Class. + * + * @param id String of the Class. + */ + public ClassImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAbstractObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAbstractObjectImpl.java new file mode 100755 index 00000000..75aee8d9 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAbstractObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfAbstractObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfAbstractObject. + */ +public class ClassOfAbstractObjectImpl extends HqdmObject implements ClassOfAbstractObject { + /** + * Constructs a new ClassOfAbstractObject. + * + * @param id String of the ClassOfAbstractObject. + */ + public ClassOfAbstractObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfActivityImpl.java new file mode 100755 index 00000000..c9b95dfd --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfActivity. + */ +public class ClassOfActivityImpl extends HqdmObject implements ClassOfActivity { + /** + * Constructs a new ClassOfActivity. + * + * @param id String of the ClassOfActivity. + */ + public ClassOfActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreeContractImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreeContractImpl.java new file mode 100755 index 00000000..553b70ad --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreeContractImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfAgreeContract; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfAgreeContract. + */ +public class ClassOfAgreeContractImpl extends HqdmObject implements ClassOfAgreeContract { + /** + * Constructs a new ClassOfAgreeContract. + * + * @param id String of the ClassOfAgreeContract. + */ + public ClassOfAgreeContractImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreementExecutionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreementExecutionImpl.java new file mode 100755 index 00000000..c4664c3b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreementExecutionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfAgreementExecution; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfAgreementExecution. + */ +public class ClassOfAgreementExecutionImpl extends HqdmObject implements ClassOfAgreementExecution { + /** + * Constructs a new ClassOfAgreementExecution. + * + * @param id String of the ClassOfAgreementExecution. + */ + public ClassOfAgreementExecutionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreementProcessImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreementProcessImpl.java new file mode 100755 index 00000000..50794d35 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAgreementProcessImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfAgreementProcess; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfAgreementProcess. + */ +public class ClassOfAgreementProcessImpl extends HqdmObject implements ClassOfAgreementProcess { + /** + * Constructs a new ClassOfAgreementProcess. + * + * @param id String of the ClassOfAgreementProcess. + */ + public ClassOfAgreementProcessImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAmountOfMoneyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAmountOfMoneyImpl.java new file mode 100755 index 00000000..225b449a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAmountOfMoneyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfAmountOfMoney; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfAmountOfMoney. + */ +public class ClassOfAmountOfMoneyImpl extends HqdmObject implements ClassOfAmountOfMoney { + /** + * Constructs a new ClassOfAmountOfMoney. + * + * @param id String of the ClassOfAmountOfMoney. + */ + public ClassOfAmountOfMoneyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAssociationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAssociationImpl.java new file mode 100755 index 00000000..cd963cf1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfAssociationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfAssociation; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfAssociation. + */ +public class ClassOfAssociationImpl extends HqdmObject implements ClassOfAssociation { + /** + * Constructs a new ClassOfAssociation. + * + * @param id String of the ClassOfAssociation. + */ + public ClassOfAssociationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalObjectImpl.java new file mode 100755 index 00000000..d28df578 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfBiologicalObject. + */ +public class ClassOfBiologicalObjectImpl extends HqdmObject implements ClassOfBiologicalObject { + /** + * Constructs a new ClassOfBiologicalObject. + * + * @param id String of the ClassOfBiologicalObject. + */ + public ClassOfBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalSystemComponentImpl.java new file mode 100755 index 00000000..d9757a01 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfBiologicalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfBiologicalSystemComponent. + */ +public class ClassOfBiologicalSystemComponentImpl extends HqdmObject implements ClassOfBiologicalSystemComponent { + /** + * Constructs a new ClassOfBiologicalSystemComponent. + * + * @param id String of the ClassOfBiologicalSystemComponent. + */ + public ClassOfBiologicalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalSystemImpl.java new file mode 100755 index 00000000..80b507c4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfBiologicalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfBiologicalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfBiologicalSystem. + */ +public class ClassOfBiologicalSystemImpl extends HqdmObject implements ClassOfBiologicalSystem { + /** + * Constructs a new ClassOfBiologicalSystem. + * + * @param id String of the ClassOfBiologicalSystem. + */ + public ClassOfBiologicalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfClassImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfClassImpl.java new file mode 100755 index 00000000..1f89f81e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfClassImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfClass; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfClass. + */ +public class ClassOfClassImpl extends HqdmObject implements ClassOfClass { + /** + * Constructs a new ClassOfClass. + * + * @param id String of the ClassOfClass. + */ + public ClassOfClassImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfClassOfSpatioTemporalExtentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfClassOfSpatioTemporalExtentImpl.java new file mode 100755 index 00000000..69bd2660 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfClassOfSpatioTemporalExtentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfClassOfSpatioTemporalExtent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfClassOfSpatioTemporalExtent. + */ +public class ClassOfClassOfSpatioTemporalExtentImpl extends HqdmObject implements ClassOfClassOfSpatioTemporalExtent { + /** + * Constructs a new ClassOfClassOfSpatioTemporalExtent. + * + * @param id String of the ClassOfClassOfSpatioTemporalExtent. + */ + public ClassOfClassOfSpatioTemporalExtentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfContractExecutionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfContractExecutionImpl.java new file mode 100755 index 00000000..9ed54741 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfContractExecutionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfContractExecution; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfContractExecution. + */ +public class ClassOfContractExecutionImpl extends HqdmObject implements ClassOfContractExecution { + /** + * Constructs a new ClassOfContractExecution. + * + * @param id String of the ClassOfContractExecution. + */ + public ClassOfContractExecutionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfContractProcessImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfContractProcessImpl.java new file mode 100755 index 00000000..84891c8b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfContractProcessImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfContractProcess; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfContractProcess. + */ +public class ClassOfContractProcessImpl extends HqdmObject implements ClassOfContractProcess { + /** + * Constructs a new ClassOfContractProcess. + * + * @param id String of the ClassOfContractProcess. + */ + public ClassOfContractProcessImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfEventImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfEventImpl.java new file mode 100755 index 00000000..76f18d73 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfEventImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfEvent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfEvent. + */ +public class ClassOfEventImpl extends HqdmObject implements ClassOfEvent { + /** + * Constructs a new ClassOfEvent. + * + * @param id String of the ClassOfEvent. + */ + public ClassOfEventImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalObjectImpl.java new file mode 100755 index 00000000..92cd03d7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfFunctionalObject. + */ +public class ClassOfFunctionalObjectImpl extends HqdmObject implements ClassOfFunctionalObject { + /** + * Constructs a new ClassOfFunctionalObject. + * + * @param id String of the ClassOfFunctionalObject. + */ + public ClassOfFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalSystemComponentImpl.java new file mode 100755 index 00000000..694f4362 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfFunctionalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfFunctionalSystemComponent. + */ +public class ClassOfFunctionalSystemComponentImpl extends HqdmObject implements ClassOfFunctionalSystemComponent { + /** + * Constructs a new ClassOfFunctionalSystemComponent. + * + * @param id String of the ClassOfFunctionalSystemComponent. + */ + public ClassOfFunctionalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalSystemImpl.java new file mode 100755 index 00000000..b86d1713 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfFunctionalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfFunctionalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfFunctionalSystem. + */ +public class ClassOfFunctionalSystemImpl extends HqdmObject implements ClassOfFunctionalSystem { + /** + * Constructs a new ClassOfFunctionalSystem. + * + * @param id String of the ClassOfFunctionalSystem. + */ + public ClassOfFunctionalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInPlaceBiologicalComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInPlaceBiologicalComponentImpl.java new file mode 100755 index 00000000..b273f76e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInPlaceBiologicalComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfInPlaceBiologicalComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfInPlaceBiologicalComponent. + */ +public class ClassOfInPlaceBiologicalComponentImpl extends HqdmObject implements ClassOfInPlaceBiologicalComponent { + /** + * Constructs a new ClassOfInPlaceBiologicalComponent. + * + * @param id String of the ClassOfInPlaceBiologicalComponent. + */ + public ClassOfInPlaceBiologicalComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfIndividualImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfIndividualImpl.java new file mode 100755 index 00000000..6a597939 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfIndividualImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfIndividual; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfIndividual. + */ +public class ClassOfIndividualImpl extends HqdmObject implements ClassOfIndividual { + /** + * Constructs a new ClassOfIndividual. + * + * @param id String of the ClassOfIndividual. + */ + public ClassOfIndividualImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInstalledFunctionalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInstalledFunctionalSystemComponentImpl.java new file mode 100755 index 00000000..e0f58efa --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInstalledFunctionalSystemComponentImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfInstalledFunctionalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfInstalledFunctionalSystemComponent. + */ +public class ClassOfInstalledFunctionalSystemComponentImpl extends HqdmObject + implements ClassOfInstalledFunctionalSystemComponent { + /** + * Constructs a new ClassOfInstalledFunctionalSystemComponent. + * + * @param id String of the ClassOfInstalledFunctionalSystemComponent. + */ + public ClassOfInstalledFunctionalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInstalledObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInstalledObjectImpl.java new file mode 100755 index 00000000..20f63f2c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfInstalledObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfInstalledObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfInstalledObject. + */ +public class ClassOfInstalledObjectImpl extends HqdmObject implements ClassOfInstalledObject { + /** + * Constructs a new ClassOfInstalledObject. + * + * @param id String of the ClassOfInstalledObject. + */ + public ClassOfInstalledObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfIntentionallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfIntentionallyConstructedObjectImpl.java new file mode 100755 index 00000000..30ed477a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfIntentionallyConstructedObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfIntentionallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfIntentionallyConstructedObject. + */ +public class ClassOfIntentionallyConstructedObjectImpl extends HqdmObject + implements ClassOfIntentionallyConstructedObject { + /** + * Constructs a new ClassOfIntentionallyConstructedObject. + * + * @param id String of the ClassOfIntentionallyConstructedObject. + */ + public ClassOfIntentionallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOfferImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOfferImpl.java new file mode 100755 index 00000000..3bdb5ca0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOfferImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfOffer; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfOffer. + */ +public class ClassOfOfferImpl extends HqdmObject implements ClassOfOffer { + /** + * Constructs a new ClassOfOffer. + * + * @param id String of the ClassOfOffer. + */ + public ClassOfOfferImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryBiologicalObjectImpl.java new file mode 100755 index 00000000..81483efe --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfOrdinaryBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfOrdinaryBiologicalObject. + */ +public class ClassOfOrdinaryBiologicalObjectImpl extends HqdmObject implements ClassOfOrdinaryBiologicalObject { + /** + * Constructs a new ClassOfOrdinaryBiologicalObject. + * + * @param id String of the ClassOfOrdinaryBiologicalObject. + */ + public ClassOfOrdinaryBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryFunctionalObjectImpl.java new file mode 100755 index 00000000..13bb253a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfOrdinaryFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfOrdinaryFunctionalObject. + */ +public class ClassOfOrdinaryFunctionalObjectImpl extends HqdmObject implements ClassOfOrdinaryFunctionalObject { + /** + * Constructs a new ClassOfOrdinaryFunctionalObject. + * + * @param id String of the ClassOfOrdinaryFunctionalObject. + */ + public ClassOfOrdinaryFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryPhysicalObjectImpl.java new file mode 100755 index 00000000..e46f5a5d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrdinaryPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfOrdinaryPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfOrdinaryPhysicalObject. + */ +public class ClassOfOrdinaryPhysicalObjectImpl extends HqdmObject implements ClassOfOrdinaryPhysicalObject { + /** + * Constructs a new ClassOfOrdinaryPhysicalObject. + * + * @param id String of the ClassOfOrdinaryPhysicalObject. + */ + public ClassOfOrdinaryPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrganizationComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrganizationComponentImpl.java new file mode 100755 index 00000000..5272f8a6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrganizationComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfOrganizationComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfOrganizationComponent. + */ +public class ClassOfOrganizationComponentImpl extends HqdmObject implements ClassOfOrganizationComponent { + /** + * Constructs a new ClassOfOrganizationComponent. + * + * @param id String of the ClassOfOrganizationComponent. + */ + public ClassOfOrganizationComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrganizationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrganizationImpl.java new file mode 100755 index 00000000..4af34251 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfOrganizationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfOrganization; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfOrganization. + */ +public class ClassOfOrganizationImpl extends HqdmObject implements ClassOfOrganization { + /** + * Constructs a new ClassOfOrganization. + * + * @param id String of the ClassOfOrganization. + */ + public ClassOfOrganizationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfParticipantImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfParticipantImpl.java new file mode 100755 index 00000000..0322ded2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfParticipantImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfParticipant; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfParticipant. + */ +public class ClassOfParticipantImpl extends HqdmObject implements ClassOfParticipant { + /** + * Constructs a new ClassOfParticipant. + * + * @param id String of the ClassOfParticipant. + */ + public ClassOfParticipantImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPartyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPartyImpl.java new file mode 100755 index 00000000..3db693c6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPartyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfParty; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfParty. + */ +public class ClassOfPartyImpl extends HqdmObject implements ClassOfParty { + /** + * Constructs a new ClassOfParty. + * + * @param id String of the ClassOfParty. + */ + public ClassOfPartyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPeriodOfTimeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPeriodOfTimeImpl.java new file mode 100755 index 00000000..e18dea94 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPeriodOfTimeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPeriodOfTime; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPeriodOfTime. + */ +public class ClassOfPeriodOfTimeImpl extends HqdmObject implements ClassOfPeriodOfTime { + /** + * Constructs a new ClassOfPeriodOfTime. + * + * @param id String of the ClassOfPeriodOfTime. + */ + public ClassOfPeriodOfTimeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPersonImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPersonImpl.java new file mode 100755 index 00000000..edf6fbfb --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPersonImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPerson; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPerson. + */ +public class ClassOfPersonImpl extends HqdmObject implements ClassOfPerson { + /** + * Constructs a new ClassOfPerson. + * + * @param id String of the ClassOfPerson. + */ + public ClassOfPersonImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPersonInPositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPersonInPositionImpl.java new file mode 100755 index 00000000..c1cf94d4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPersonInPositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPersonInPosition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPersonInPosition. + */ +public class ClassOfPersonInPositionImpl extends HqdmObject implements ClassOfPersonInPosition { + /** + * Constructs a new ClassOfPersonInPosition. + * + * @param id String of the ClassOfPersonInPosition. + */ + public ClassOfPersonInPositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalObjectImpl.java new file mode 100755 index 00000000..33f42e6e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPhysicalObject. + */ +public class ClassOfPhysicalObjectImpl extends HqdmObject implements ClassOfPhysicalObject { + /** + * Constructs a new ClassOfPhysicalObject. + * + * @param id String of the ClassOfPhysicalObject. + */ + public ClassOfPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalPropertyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalPropertyImpl.java new file mode 100755 index 00000000..a9566f21 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalPropertyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPhysicalProperty; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPhysicalProperty. + */ +public class ClassOfPhysicalPropertyImpl extends HqdmObject implements ClassOfPhysicalProperty { + /** + * Constructs a new ClassOfPhysicalProperty. + * + * @param id String of the ClassOfPhysicalProperty. + */ + public ClassOfPhysicalPropertyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalQuantityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalQuantityImpl.java new file mode 100755 index 00000000..7d085083 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPhysicalQuantityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPhysicalQuantity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPhysicalQuantity. + */ +public class ClassOfPhysicalQuantityImpl extends HqdmObject implements ClassOfPhysicalQuantity { + /** + * Constructs a new ClassOfPhysicalQuantity. + * + * @param id String of the ClassOfPhysicalQuantity. + */ + public ClassOfPhysicalQuantityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPointInTimeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPointInTimeImpl.java new file mode 100755 index 00000000..838e0417 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPointInTimeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPointInTime; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPointInTime. + */ +public class ClassOfPointInTimeImpl extends HqdmObject implements ClassOfPointInTime { + /** + * Constructs a new ClassOfPointInTime. + * + * @param id String of the ClassOfPointInTime. + */ + public ClassOfPointInTimeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPositionImpl.java new file mode 100755 index 00000000..259163a8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPosition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPosition. + */ +public class ClassOfPositionImpl extends HqdmObject implements ClassOfPosition { + /** + * Constructs a new ClassOfPosition. + * + * @param id String of the ClassOfPosition. + */ + public ClassOfPositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPossibleWorldImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPossibleWorldImpl.java new file mode 100755 index 00000000..2da68eb7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfPossibleWorldImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfPossibleWorld; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfPossibleWorld. + */ +public class ClassOfPossibleWorldImpl extends HqdmObject implements ClassOfPossibleWorld { + /** + * Constructs a new ClassOfPossibleWorld. + * + * @param id String of the ClassOfPossibleWorld. + */ + public ClassOfPossibleWorldImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfReachingAgreementImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfReachingAgreementImpl.java new file mode 100755 index 00000000..e346137e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfReachingAgreementImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfReachingAgreement; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfReachingAgreement. + */ +public class ClassOfReachingAgreementImpl extends HqdmObject implements ClassOfReachingAgreement { + /** + * Constructs a new ClassOfReachingAgreement. + * + * @param id String of the ClassOfReachingAgreement. + */ + public ClassOfReachingAgreementImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfRelationshipImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfRelationshipImpl.java new file mode 100755 index 00000000..a4efb92d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfRelationshipImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfRelationship; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfRelationship. + */ +public class ClassOfRelationshipImpl extends HqdmObject implements ClassOfRelationship { + /** + * Constructs a new ClassOfRelationship. + * + * @param id String of the ClassOfRelationship. + */ + public ClassOfRelationshipImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfRepresentationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfRepresentationImpl.java new file mode 100755 index 00000000..a574c75c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfRepresentationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfRepresentation; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfRepresentation. + */ +public class ClassOfRepresentationImpl extends HqdmObject implements ClassOfRepresentation { + /** + * Constructs a new ClassOfRepresentation. + * + * @param id String of the ClassOfRepresentation. + */ + public ClassOfRepresentationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSalesProductInstanceImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSalesProductInstanceImpl.java new file mode 100755 index 00000000..6e58cfeb --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSalesProductInstanceImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfSalesProductInstance; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfSalesProductInstance. + */ +public class ClassOfSalesProductInstanceImpl extends HqdmObject implements ClassOfSalesProductInstance { + /** + * Constructs a new ClassOfSalesProductInstance. + * + * @param id String of the ClassOfSalesProductInstance. + */ + public ClassOfSalesProductInstanceImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSignImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSignImpl.java new file mode 100755 index 00000000..1a1e6387 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSignImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfSign; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfSign. + */ +public class ClassOfSignImpl extends HqdmObject implements ClassOfSign { + /** + * Constructs a new ClassOfSign. + * + * @param id String of the ClassOfSign. + */ + public ClassOfSignImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSociallyConstructedActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSociallyConstructedActivityImpl.java new file mode 100755 index 00000000..c4fcc46a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSociallyConstructedActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfSociallyConstructedActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfSociallyConstructedActivity. + */ +public class ClassOfSociallyConstructedActivityImpl extends HqdmObject implements ClassOfSociallyConstructedActivity { + /** + * Constructs a new ClassOfSociallyConstructedActivity. + * + * @param id String of the ClassOfSociallyConstructedActivity. + */ + public ClassOfSociallyConstructedActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSociallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSociallyConstructedObjectImpl.java new file mode 100755 index 00000000..30819571 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSociallyConstructedObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfSociallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfSociallyConstructedObject. + */ +public class ClassOfSociallyConstructedObjectImpl extends HqdmObject implements ClassOfSociallyConstructedObject { + /** + * Constructs a new ClassOfSociallyConstructedObject. + * + * @param id String of the ClassOfSociallyConstructedObject. + */ + public ClassOfSociallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSpatioTemporalExtentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSpatioTemporalExtentImpl.java new file mode 100755 index 00000000..56405e92 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSpatioTemporalExtentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfSpatioTemporalExtent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfSpatioTemporalExtent. + */ +public class ClassOfSpatioTemporalExtentImpl extends HqdmObject implements ClassOfSpatioTemporalExtent { + /** + * Constructs a new ClassOfSpatioTemporalExtent. + * + * @param id String of the ClassOfSpatioTemporalExtent. + */ + public ClassOfSpatioTemporalExtentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateImpl.java new file mode 100755 index 00000000..1ab639a2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfState; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfState. + */ +public class ClassOfStateImpl extends HqdmObject implements ClassOfState { + /** + * Constructs a new ClassOfState. + * + * @param id String of the ClassOfState. + */ + public ClassOfStateImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfActivityImpl.java new file mode 100755 index 00000000..920b8121 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfActivity. + */ +public class ClassOfStateOfActivityImpl extends HqdmObject implements ClassOfStateOfActivity { + /** + * Constructs a new ClassOfStateOfActivity. + * + * @param id String of the ClassOfStateOfActivity. + */ + public ClassOfStateOfActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfAmountOfMoneyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfAmountOfMoneyImpl.java new file mode 100755 index 00000000..805d5b41 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfAmountOfMoneyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfAmountOfMoney; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfAmountOfMoney. + */ +public class ClassOfStateOfAmountOfMoneyImpl extends HqdmObject implements ClassOfStateOfAmountOfMoney { + /** + * Constructs a new ClassOfStateOfAmountOfMoney. + * + * @param id String of the ClassOfStateOfAmountOfMoney. + */ + public ClassOfStateOfAmountOfMoneyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfAssociationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfAssociationImpl.java new file mode 100755 index 00000000..fe5f12d0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfAssociationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfAssociation; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfAssociation. + */ +public class ClassOfStateOfAssociationImpl extends HqdmObject implements ClassOfStateOfAssociation { + /** + * Constructs a new ClassOfStateOfAssociation. + * + * @param id String of the ClassOfStateOfAssociation. + */ + public ClassOfStateOfAssociationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalObjectImpl.java new file mode 100755 index 00000000..80795509 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfBiologicalObject. + */ +public class ClassOfStateOfBiologicalObjectImpl extends HqdmObject implements ClassOfStateOfBiologicalObject { + /** + * Constructs a new ClassOfStateOfBiologicalObject. + * + * @param id String of the ClassOfStateOfBiologicalObject. + */ + public ClassOfStateOfBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalSystemComponentImpl.java new file mode 100755 index 00000000..700bba66 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalSystemComponentImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfBiologicalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfBiologicalSystemComponent. + */ +public class ClassOfStateOfBiologicalSystemComponentImpl extends HqdmObject + implements ClassOfStateOfBiologicalSystemComponent { + /** + * Constructs a new ClassOfStateOfBiologicalSystemComponent. + * + * @param id String of the ClassOfStateOfBiologicalSystemComponent. + */ + public ClassOfStateOfBiologicalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalSystemImpl.java new file mode 100755 index 00000000..dece7223 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfBiologicalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfBiologicalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfBiologicalSystem. + */ +public class ClassOfStateOfBiologicalSystemImpl extends HqdmObject implements ClassOfStateOfBiologicalSystem { + /** + * Constructs a new ClassOfStateOfBiologicalSystem. + * + * @param id String of the ClassOfStateOfBiologicalSystem. + */ + public ClassOfStateOfBiologicalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalObjectImpl.java new file mode 100755 index 00000000..74c343cd --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfFunctionalObject. + */ +public class ClassOfStateOfFunctionalObjectImpl extends HqdmObject implements ClassOfStateOfFunctionalObject { + /** + * Constructs a new ClassOfStateOfFunctionalObject. + * + * @param id String of the ClassOfStateOfFunctionalObject. + */ + public ClassOfStateOfFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalSystemComponentImpl.java new file mode 100755 index 00000000..d2fc22a2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalSystemComponentImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfFunctionalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfFunctionalSystemComponent. + */ +public class ClassOfStateOfFunctionalSystemComponentImpl extends HqdmObject + implements ClassOfStateOfFunctionalSystemComponent { + /** + * Constructs a new ClassOfStateOfFunctionalSystemComponent. + * + * @param id String of the ClassOfStateOfFunctionalSystemComponent. + */ + public ClassOfStateOfFunctionalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalSystemImpl.java new file mode 100755 index 00000000..7193e069 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfFunctionalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfFunctionalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfFunctionalSystem. + */ +public class ClassOfStateOfFunctionalSystemImpl extends HqdmObject implements ClassOfStateOfFunctionalSystem { + /** + * Constructs a new ClassOfStateOfFunctionalSystem. + * + * @param id String of the ClassOfStateOfFunctionalSystem. + */ + public ClassOfStateOfFunctionalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfIntentionallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfIntentionallyConstructedObjectImpl.java new file mode 100755 index 00000000..2e106f93 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfIntentionallyConstructedObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfIntentionallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfIntentionallyConstructedObject. + */ +public class ClassOfStateOfIntentionallyConstructedObjectImpl extends HqdmObject + implements ClassOfStateOfIntentionallyConstructedObject { + /** + * Constructs a new ClassOfStateOfIntentionallyConstructedObject. + * + * @param id String of the ClassOfStateOfIntentionallyConstructedObject. + */ + public ClassOfStateOfIntentionallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryBiologicalObjectImpl.java new file mode 100755 index 00000000..5ab555f3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryBiologicalObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfOrdinaryBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfOrdinaryBiologicalObject. + */ +public class ClassOfStateOfOrdinaryBiologicalObjectImpl extends HqdmObject + implements ClassOfStateOfOrdinaryBiologicalObject { + /** + * Constructs a new ClassOfStateOfOrdinaryBiologicalObject. + * + * @param id String of the ClassOfStateOfOrdinaryBiologicalObject. + */ + public ClassOfStateOfOrdinaryBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryFunctionalObjectImpl.java new file mode 100755 index 00000000..81420d3a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryFunctionalObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfOrdinaryFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfOrdinaryFunctionalObject. + */ +public class ClassOfStateOfOrdinaryFunctionalObjectImpl extends HqdmObject + implements ClassOfStateOfOrdinaryFunctionalObject { + /** + * Constructs a new ClassOfStateOfOrdinaryFunctionalObject. + * + * @param id String of the ClassOfStateOfOrdinaryFunctionalObject. + */ + public ClassOfStateOfOrdinaryFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryPhysicalObjectImpl.java new file mode 100755 index 00000000..054a878b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrdinaryPhysicalObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfOrdinaryPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfOrdinaryPhysicalObject. + */ +public class ClassOfStateOfOrdinaryPhysicalObjectImpl extends HqdmObject + implements ClassOfStateOfOrdinaryPhysicalObject { + /** + * Constructs a new ClassOfStateOfOrdinaryPhysicalObject. + * + * @param id String of the ClassOfStateOfOrdinaryPhysicalObject. + */ + public ClassOfStateOfOrdinaryPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrganizationComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrganizationComponentImpl.java new file mode 100755 index 00000000..a8a2af7b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrganizationComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfOrganizationComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfOrganizationComponent. + */ +public class ClassOfStateOfOrganizationComponentImpl extends HqdmObject implements ClassOfStateOfOrganizationComponent { + /** + * Constructs a new ClassOfStateOfOrganizationComponent. + * + * @param id String of the ClassOfStateOfOrganizationComponent. + */ + public ClassOfStateOfOrganizationComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrganizationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrganizationImpl.java new file mode 100755 index 00000000..ebd77854 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfOrganizationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfOrganization; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfOrganization. + */ +public class ClassOfStateOfOrganizationImpl extends HqdmObject implements ClassOfStateOfOrganization { + /** + * Constructs a new ClassOfStateOfOrganization. + * + * @param id String of the ClassOfStateOfOrganization. + */ + public ClassOfStateOfOrganizationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPartyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPartyImpl.java new file mode 100755 index 00000000..7a52fb01 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPartyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfParty; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfParty. + */ +public class ClassOfStateOfPartyImpl extends HqdmObject implements ClassOfStateOfParty { + /** + * Constructs a new ClassOfStateOfParty. + * + * @param id String of the ClassOfStateOfParty. + */ + public ClassOfStateOfPartyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPersonImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPersonImpl.java new file mode 100755 index 00000000..1ef8f880 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPersonImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfPerson; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfPerson. + */ +public class ClassOfStateOfPersonImpl extends HqdmObject implements ClassOfStateOfPerson { + /** + * Constructs a new ClassOfStateOfPerson. + * + * @param id String of the ClassOfStateOfPerson. + */ + public ClassOfStateOfPersonImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPhysicalObjectImpl.java new file mode 100755 index 00000000..4f922bc6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfPhysicalObject. + */ +public class ClassOfStateOfPhysicalObjectImpl extends HqdmObject implements ClassOfStateOfPhysicalObject { + /** + * Constructs a new ClassOfStateOfPhysicalObject. + * + * @param id String of the ClassOfStateOfPhysicalObject. + */ + public ClassOfStateOfPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPositionImpl.java new file mode 100755 index 00000000..17565ac1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfPositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfPosition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfPosition. + */ +public class ClassOfStateOfPositionImpl extends HqdmObject implements ClassOfStateOfPosition { + /** + * Constructs a new ClassOfStateOfPosition. + * + * @param id String of the ClassOfStateOfPosition. + */ + public ClassOfStateOfPositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSalesProductInstanceImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSalesProductInstanceImpl.java new file mode 100755 index 00000000..c35ba72e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSalesProductInstanceImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfSalesProductInstance; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfSalesProductInstance. + */ +public class ClassOfStateOfSalesProductInstanceImpl extends HqdmObject implements ClassOfStateOfSalesProductInstance { + /** + * Constructs a new ClassOfStateOfSalesProductInstance. + * + * @param id String of the ClassOfStateOfSalesProductInstance. + */ + public ClassOfStateOfSalesProductInstanceImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSignImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSignImpl.java new file mode 100755 index 00000000..0111be9a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSignImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfSign; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfSign. + */ +public class ClassOfStateOfSignImpl extends HqdmObject implements ClassOfStateOfSign { + /** + * Constructs a new ClassOfStateOfSign. + * + * @param id String of the ClassOfStateOfSign. + */ + public ClassOfStateOfSignImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSociallyConstructedActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSociallyConstructedActivityImpl.java new file mode 100755 index 00000000..321f5812 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSociallyConstructedActivityImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfSociallyConstructedActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfSociallyConstructedActivity. + */ +public class ClassOfStateOfSociallyConstructedActivityImpl extends HqdmObject + implements ClassOfStateOfSociallyConstructedActivity { + /** + * Constructs a new ClassOfStateOfSociallyConstructedActivity. + * + * @param id String of the ClassOfStateOfSociallyConstructedActivity. + */ + public ClassOfStateOfSociallyConstructedActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSociallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSociallyConstructedObjectImpl.java new file mode 100755 index 00000000..bfd9f06d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSociallyConstructedObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfSociallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfSociallyConstructedObject. + */ +public class ClassOfStateOfSociallyConstructedObjectImpl extends HqdmObject + implements ClassOfStateOfSociallyConstructedObject { + /** + * Constructs a new ClassOfStateOfSociallyConstructedObject. + * + * @param id String of the ClassOfStateOfSociallyConstructedObject. + */ + public ClassOfStateOfSociallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSystemComponentImpl.java new file mode 100755 index 00000000..295cc720 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfSystemComponent. + */ +public class ClassOfStateOfSystemComponentImpl extends HqdmObject implements ClassOfStateOfSystemComponent { + /** + * Constructs a new ClassOfStateOfSystemComponent. + * + * @param id String of the ClassOfStateOfSystemComponent. + */ + public ClassOfStateOfSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSystemImpl.java new file mode 100755 index 00000000..f37d3fe2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfStateOfSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfStateOfSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfStateOfSystem. + */ +public class ClassOfStateOfSystemImpl extends HqdmObject implements ClassOfStateOfSystem { + /** + * Constructs a new ClassOfStateOfSystem. + * + * @param id String of the ClassOfStateOfSystem. + */ + public ClassOfStateOfSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSystemComponentImpl.java new file mode 100755 index 00000000..64e70ed7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfSystemComponent. + */ +public class ClassOfSystemComponentImpl extends HqdmObject implements ClassOfSystemComponent { + /** + * Constructs a new ClassOfSystemComponent. + * + * @param id String of the ClassOfSystemComponent. + */ + public ClassOfSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSystemImpl.java new file mode 100755 index 00000000..df430b2e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassOfSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ClassOfSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ClassOfSystem. + */ +public class ClassOfSystemImpl extends HqdmObject implements ClassOfSystem { + /** + * Constructs a new ClassOfSystem. + * + * @param id String of the ClassOfSystem. + */ + public ClassOfSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassificationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassificationImpl.java new file mode 100755 index 00000000..1fcbe6d8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ClassificationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Classification; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Classification. + */ +public class ClassificationImpl extends HqdmObject implements Classification { + /** + * Constructs a new Classification. + * + * @param id String of the Classification. + */ + public ClassificationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/CompositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/CompositionImpl.java new file mode 100755 index 00000000..ef98f62c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/CompositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Composition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Composition. + */ +public class CompositionImpl extends HqdmObject implements Composition { + /** + * Constructs a new Composition. + * + * @param id String of the Composition. + */ + public CompositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ContractExecutionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ContractExecutionImpl.java new file mode 100755 index 00000000..58364130 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ContractExecutionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ContractExecution; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ContractExecution. + */ +public class ContractExecutionImpl extends HqdmObject implements ContractExecution { + /** + * Constructs a new ContractExecution. + * + * @param id String of the ContractExecution. + */ + public ContractExecutionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ContractProcessImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ContractProcessImpl.java new file mode 100755 index 00000000..f4af9f26 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ContractProcessImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ContractProcess; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ContractProcess. + */ +public class ContractProcessImpl extends HqdmObject implements ContractProcess { + /** + * Constructs a new ContractProcess. + * + * @param id String of the ContractProcess. + */ + public ContractProcessImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/CurrencyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/CurrencyImpl.java new file mode 100755 index 00000000..30009650 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/CurrencyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Currency; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Currency. + */ +public class CurrencyImpl extends HqdmObject implements Currency { + /** + * Constructs a new Currency. + * + * @param id String of the Currency. + */ + public CurrencyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DefinedRelationshipImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DefinedRelationshipImpl.java new file mode 100755 index 00000000..c42a2bd0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DefinedRelationshipImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.DefinedRelationship; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of DefinedRelationship. + */ +public class DefinedRelationshipImpl extends HqdmObject implements DefinedRelationship { + /** + * Constructs a new DefinedRelationship. + * + * @param id String of the DefinedRelationship. + */ + public DefinedRelationshipImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DefinitionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DefinitionImpl.java new file mode 100755 index 00000000..aa0884bf --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DefinitionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Definition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Definition. + */ +public class DefinitionImpl extends HqdmObject implements Definition { + /** + * Constructs a new Definition. + * + * @param id String of the Definition. + */ + public DefinitionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DescriptionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DescriptionImpl.java new file mode 100755 index 00000000..40cc6749 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/DescriptionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Description; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Description. + */ +public class DescriptionImpl extends HqdmObject implements Description { + /** + * Constructs a new Description. + * + * @param id String of the Description. + */ + public DescriptionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmployeeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmployeeImpl.java new file mode 100755 index 00000000..78149b7e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmployeeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Employee; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Employee. + */ +public class EmployeeImpl extends HqdmObject implements Employee { + /** + * Constructs a new Employee. + * + * @param id String of the Employee. + */ + public EmployeeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmployerImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmployerImpl.java new file mode 100755 index 00000000..8bf9e6a3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmployerImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Employer; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Employer. + */ +public class EmployerImpl extends HqdmObject implements Employer { + /** + * Constructs a new Employer. + * + * @param id String of the Employer. + */ + public EmployerImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmploymentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmploymentImpl.java new file mode 100755 index 00000000..3b6eefac --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EmploymentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Employment; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Employment. + */ +public class EmploymentImpl extends HqdmObject implements Employment { + /** + * Constructs a new Employment. + * + * @param id String of the Employment. + */ + public EmploymentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EndingOfOwnershipImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EndingOfOwnershipImpl.java new file mode 100755 index 00000000..632fca5a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EndingOfOwnershipImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.EndingOfOwnership; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of EndingOfOwnership. + */ +public class EndingOfOwnershipImpl extends HqdmObject implements EndingOfOwnership { + /** + * Constructs a new EndingOfOwnership. + * + * @param id String of the EndingOfOwnership. + */ + public EndingOfOwnershipImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EnumeratedClassImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EnumeratedClassImpl.java new file mode 100755 index 00000000..befcaece --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EnumeratedClassImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.EnumeratedClass; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of EnumeratedClass. + */ +public class EnumeratedClassImpl extends HqdmObject implements EnumeratedClass { + /** + * Constructs a new EnumeratedClass. + * + * @param id String of the EnumeratedClass. + */ + public EnumeratedClassImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EventImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EventImpl.java new file mode 100755 index 00000000..2fdc6889 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/EventImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Event; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Event. + */ +public class EventImpl extends HqdmObject implements Event { + /** + * Constructs a new Event. + * + * @param id String of the Event. + */ + public EventImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ExchangeOfGoodsAndMoneyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ExchangeOfGoodsAndMoneyImpl.java new file mode 100755 index 00000000..038cb708 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ExchangeOfGoodsAndMoneyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ExchangeOfGoodsAndMoney; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ExchangeOfGoodsAndMoney. + */ +public class ExchangeOfGoodsAndMoneyImpl extends HqdmObject implements ExchangeOfGoodsAndMoney { + /** + * Constructs a new ExchangeOfGoodsAndMoney. + * + * @param id String of the ExchangeOfGoodsAndMoney. + */ + public ExchangeOfGoodsAndMoneyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionImpl.java new file mode 100755 index 00000000..d870c8c2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Function_; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Function. + */ +public class FunctionImpl extends HqdmObject implements Function_ { + /** + * Constructs a new Function_. + * + * @param id String of the Function_. + */ + public FunctionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalObjectImpl.java new file mode 100755 index 00000000..20bbf569 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.FunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of FunctionalObject. + */ +public class FunctionalObjectImpl extends HqdmObject implements FunctionalObject { + /** + * Constructs a new FunctionalObject. + * + * @param id String of the FunctionalObject. + */ + public FunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalSystemComponentImpl.java new file mode 100755 index 00000000..133ca40d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.FunctionalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of FunctionalSystemComponent. + */ +public class FunctionalSystemComponentImpl extends HqdmObject implements FunctionalSystemComponent { + /** + * Constructs a new FunctionalSystemComponent. + * + * @param id String of the FunctionalSystemComponent. + */ + public FunctionalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalSystemImpl.java new file mode 100755 index 00000000..65c779f5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/FunctionalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.FunctionalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of FunctionalSystem. + */ +public class FunctionalSystemImpl extends HqdmObject implements FunctionalSystem { + /** + * Constructs a new FunctionalSystem. + * + * @param id String of the FunctionalSystem. + */ + public FunctionalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IdentificationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IdentificationImpl.java new file mode 100755 index 00000000..27c045ea --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IdentificationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Identification; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Identification. + */ +public class IdentificationImpl extends HqdmObject implements Identification { + /** + * Constructs a new Identification. + * + * @param id String of the Identification. + */ + public IdentificationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IdentificationOfPhysicalQuantityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IdentificationOfPhysicalQuantityImpl.java new file mode 100755 index 00000000..0a342fc4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IdentificationOfPhysicalQuantityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.IdentificationOfPhysicalQuantity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of IdentificationOfPhysicalQuantity. + */ +public class IdentificationOfPhysicalQuantityImpl extends HqdmObject implements IdentificationOfPhysicalQuantity { + /** + * Constructs a new IdentificationOfPhysicalQuantity. + * + * @param id String of the IdentificationOfPhysicalQuantity. + */ + public IdentificationOfPhysicalQuantityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InPlaceBiologicalComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InPlaceBiologicalComponentImpl.java new file mode 100755 index 00000000..83a895e8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InPlaceBiologicalComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.InPlaceBiologicalComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of InPlaceBiologicalComponent. + */ +public class InPlaceBiologicalComponentImpl extends HqdmObject implements InPlaceBiologicalComponent { + /** + * Constructs a new InPlaceBiologicalComponent. + * + * @param id String of the InPlaceBiologicalComponent. + */ + public InPlaceBiologicalComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IndividualImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IndividualImpl.java new file mode 100755 index 00000000..08ae91f1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IndividualImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Individual; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Individual. + */ +public class IndividualImpl extends HqdmObject implements Individual { + /** + * Constructs a new Individual. + * + * @param id String of the Individual. + */ + public IndividualImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InstalledFunctionalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InstalledFunctionalSystemComponentImpl.java new file mode 100755 index 00000000..f914df7f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InstalledFunctionalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.InstalledFunctionalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of InstalledFunctionalSystemComponent. + */ +public class InstalledFunctionalSystemComponentImpl extends HqdmObject implements InstalledFunctionalSystemComponent { + /** + * Constructs a new InstalledFunctionalSystemComponent. + * + * @param id String of the InstalledFunctionalSystemComponent. + */ + public InstalledFunctionalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InstalledObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InstalledObjectImpl.java new file mode 100755 index 00000000..57e101b2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/InstalledObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.InstalledObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of InstalledObject. + */ +public class InstalledObjectImpl extends HqdmObject implements InstalledObject { + /** + * Constructs a new InstalledObject. + * + * @param id String of the InstalledObject. + */ + public InstalledObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IntentionallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IntentionallyConstructedObjectImpl.java new file mode 100755 index 00000000..7819462f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/IntentionallyConstructedObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.IntentionallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of IntentionallyConstructedObject. + */ +public class IntentionallyConstructedObjectImpl extends HqdmObject implements IntentionallyConstructedObject { + /** + * Constructs a new IntentionallyConstructedObject. + * + * @param id String of the IntentionallyConstructedObject. + */ + public IntentionallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfActivityImpl.java new file mode 100755 index 00000000..f6a6eb7e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfActivity. + */ +public class KindOfActivityImpl extends HqdmObject implements KindOfActivity { + /** + * Constructs a new KindOfActivity. + * + * @param id String of the KindOfActivity. + */ + public KindOfActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfAssociationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfAssociationImpl.java new file mode 100755 index 00000000..8a19d546 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfAssociationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfAssociation; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfAssociation. + */ +public class KindOfAssociationImpl extends HqdmObject implements KindOfAssociation { + /** + * Constructs a new KindOfAssociation. + * + * @param id String of the KindOfAssociation. + */ + public KindOfAssociationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalObjectImpl.java new file mode 100755 index 00000000..88800d7f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfBiologicalObject. + */ +public class KindOfBiologicalObjectImpl extends HqdmObject implements KindOfBiologicalObject { + /** + * Constructs a new KindOfBiologicalObject. + * + * @param id String of the KindOfBiologicalObject. + */ + public KindOfBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalSystemComponentImpl.java new file mode 100755 index 00000000..93faf05a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfBiologicalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfBiologicalSystemComponent. + */ +public class KindOfBiologicalSystemComponentImpl extends HqdmObject implements KindOfBiologicalSystemComponent { + /** + * Constructs a new KindOfBiologicalSystemComponent. + * + * @param id String of the KindOfBiologicalSystemComponent. + */ + public KindOfBiologicalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalSystemImpl.java new file mode 100755 index 00000000..230309f2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfBiologicalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfBiologicalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfBiologicalSystem. + */ +public class KindOfBiologicalSystemImpl extends HqdmObject implements KindOfBiologicalSystem { + /** + * Constructs a new KindOfBiologicalSystem. + * + * @param id String of the KindOfBiologicalSystem. + */ + public KindOfBiologicalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalObjectImpl.java new file mode 100755 index 00000000..5eca25cb --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfFunctionalObject. + */ +public class KindOfFunctionalObjectImpl extends HqdmObject implements KindOfFunctionalObject { + /** + * Constructs a new KindOfFunctionalObject. + * + * @param id String of the KindOfFunctionalObject. + */ + public KindOfFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalSystemComponentImpl.java new file mode 100755 index 00000000..57713add --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfFunctionalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfFunctionalSystemComponent. + */ +public class KindOfFunctionalSystemComponentImpl extends HqdmObject implements KindOfFunctionalSystemComponent { + /** + * Constructs a new KindOfFunctionalSystemComponent. + * + * @param id String of the KindOfFunctionalSystemComponent. + */ + public KindOfFunctionalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalSystemImpl.java new file mode 100755 index 00000000..a2e4ac27 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfFunctionalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfFunctionalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfFunctionalSystem. + */ +public class KindOfFunctionalSystemImpl extends HqdmObject implements KindOfFunctionalSystem { + /** + * Constructs a new KindOfFunctionalSystem. + * + * @param id String of the KindOfFunctionalSystem. + */ + public KindOfFunctionalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfIndividualImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfIndividualImpl.java new file mode 100755 index 00000000..1b385202 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfIndividualImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfIndividual; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfIndividual. + */ +public class KindOfIndividualImpl extends HqdmObject implements KindOfIndividual { + /** + * Constructs a new KindOfIndividual. + * + * @param id String of the KindOfIndividual. + */ + public KindOfIndividualImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfIntentionallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfIntentionallyConstructedObjectImpl.java new file mode 100755 index 00000000..ba10304e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfIntentionallyConstructedObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfIntentionallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfIntentionallyConstructedObject. + */ +public class KindOfIntentionallyConstructedObjectImpl extends HqdmObject + implements KindOfIntentionallyConstructedObject { + /** + * Constructs a new KindOfIntentionallyConstructedObject. + * + * @param id String of the KindOfIntentionallyConstructedObject. + */ + public KindOfIntentionallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryBiologicalObjectImpl.java new file mode 100755 index 00000000..70ad859b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfOrdinaryBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfOrdinaryBiologicalObject. + */ +public class KindOfOrdinaryBiologicalObjectImpl extends HqdmObject implements KindOfOrdinaryBiologicalObject { + /** + * Constructs a new KindOfOrdinaryBiologicalObject. + * + * @param id String of the KindOfOrdinaryBiologicalObject. + */ + public KindOfOrdinaryBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryFunctionalObjectImpl.java new file mode 100755 index 00000000..93614fe0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfOrdinaryFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfOrdinaryFunctionalObject. + */ +public class KindOfOrdinaryFunctionalObjectImpl extends HqdmObject implements KindOfOrdinaryFunctionalObject { + /** + * Constructs a new KindOfOrdinaryFunctionalObject. + * + * @param id String of the KindOfOrdinaryFunctionalObject. + */ + public KindOfOrdinaryFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryPhysicalObjectImpl.java new file mode 100755 index 00000000..2539f9fc --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrdinaryPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfOrdinaryPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfOrdinaryPhysicalObject. + */ +public class KindOfOrdinaryPhysicalObjectImpl extends HqdmObject implements KindOfOrdinaryPhysicalObject { + /** + * Constructs a new KindOfOrdinaryPhysicalObject. + * + * @param id String of the KindOfOrdinaryPhysicalObject. + */ + public KindOfOrdinaryPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrganizationComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrganizationComponentImpl.java new file mode 100755 index 00000000..d14cf7c2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrganizationComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfOrganizationComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfOrganizationComponent. + */ +public class KindOfOrganizationComponentImpl extends HqdmObject implements KindOfOrganizationComponent { + /** + * Constructs a new KindOfOrganizationComponent. + * + * @param id String of the KindOfOrganizationComponent. + */ + public KindOfOrganizationComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrganizationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrganizationImpl.java new file mode 100755 index 00000000..d7a4a3fb --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfOrganizationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfOrganization; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfOrganization. + */ +public class KindOfOrganizationImpl extends HqdmObject implements KindOfOrganization { + /** + * Constructs a new KindOfOrganization. + * + * @param id String of the KindOfOrganization. + */ + public KindOfOrganizationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPartyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPartyImpl.java new file mode 100755 index 00000000..cec2c078 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPartyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfParty; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfParty. + */ +public class KindOfPartyImpl extends HqdmObject implements KindOfParty { + /** + * Constructs a new KindOfParty. + * + * @param id String of the KindOfParty. + */ + public KindOfPartyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPersonImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPersonImpl.java new file mode 100755 index 00000000..bc243675 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPersonImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfPerson; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfPerson. + */ +public class KindOfPersonImpl extends HqdmObject implements KindOfPerson { + /** + * Constructs a new KindOfPerson. + * + * @param id String of the KindOfPerson. + */ + public KindOfPersonImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalObjectImpl.java new file mode 100755 index 00000000..adbb9984 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfPhysicalObject. + */ +public class KindOfPhysicalObjectImpl extends HqdmObject implements KindOfPhysicalObject { + /** + * Constructs a new KindOfPhysicalObject. + * + * @param id String of the KindOfPhysicalObject. + */ + public KindOfPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalPropertyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalPropertyImpl.java new file mode 100755 index 00000000..0a1e2664 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalPropertyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfPhysicalProperty; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfPhysicalProperty. + */ +public class KindOfPhysicalPropertyImpl extends HqdmObject implements KindOfPhysicalProperty { + /** + * Constructs a new KindOfPhysicalProperty. + * + * @param id String of the KindOfPhysicalProperty. + */ + public KindOfPhysicalPropertyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalQuantityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalQuantityImpl.java new file mode 100755 index 00000000..d19b104f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPhysicalQuantityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfPhysicalQuantity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfPhysicalQuantity. + */ +public class KindOfPhysicalQuantityImpl extends HqdmObject implements KindOfPhysicalQuantity { + /** + * Constructs a new KindOfPhysicalQuantity. + * + * @param id String of the KindOfPhysicalQuantity. + */ + public KindOfPhysicalQuantityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPositionImpl.java new file mode 100755 index 00000000..5ac64bdd --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfPositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfPosition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfPosition. + */ +public class KindOfPositionImpl extends HqdmObject implements KindOfPosition { + /** + * Constructs a new KindOfPosition. + * + * @param id String of the KindOfPosition. + */ + public KindOfPositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfRelationshipWithRestrictionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfRelationshipWithRestrictionImpl.java new file mode 100755 index 00000000..0c1a75f6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfRelationshipWithRestrictionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfRelationshipWithRestriction; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfRelationshipWithRestriction. + */ +public class KindOfRelationshipWithRestrictionImpl extends HqdmObject implements KindOfRelationshipWithRestriction { + /** + * Constructs a new KindOfRelationshipWithRestriction. + * + * @param id String of the KindOfRelationshipWithRestriction. + */ + public KindOfRelationshipWithRestrictionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfRelationshipWithSignatureImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfRelationshipWithSignatureImpl.java new file mode 100755 index 00000000..174cc1d7 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfRelationshipWithSignatureImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfRelationshipWithSignature; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfRelationshipWithSignature. + */ +public class KindOfRelationshipWithSignatureImpl extends HqdmObject implements KindOfRelationshipWithSignature { + /** + * Constructs a new KindOfRelationshipWithSignature. + * + * @param id String of the KindOfRelationshipWithSignature. + */ + public KindOfRelationshipWithSignatureImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSociallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSociallyConstructedObjectImpl.java new file mode 100755 index 00000000..4b27fbc0 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSociallyConstructedObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfSociallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfSociallyConstructedObject. + */ +public class KindOfSociallyConstructedObjectImpl extends HqdmObject implements KindOfSociallyConstructedObject { + /** + * Constructs a new KindOfSociallyConstructedObject. + * + * @param id String of the KindOfSociallyConstructedObject. + */ + public KindOfSociallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSystemComponentImpl.java new file mode 100755 index 00000000..a7d9ae4f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfSystemComponent. + */ +public class KindOfSystemComponentImpl extends HqdmObject implements KindOfSystemComponent { + /** + * Constructs a new KindOfSystemComponent. + * + * @param id String of the KindOfSystemComponent. + */ + public KindOfSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSystemImpl.java new file mode 100755 index 00000000..f378bea4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/KindOfSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.KindOfSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of KindOfSystem. + */ +public class KindOfSystemImpl extends HqdmObject implements KindOfSystem { + /** + * Constructs a new KindOfSystem. + * + * @param id String of the KindOfSystem. + */ + public KindOfSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/LanguageCommunityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/LanguageCommunityImpl.java new file mode 100755 index 00000000..60315214 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/LanguageCommunityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.LanguageCommunity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of LanguageCommunity. + */ +public class LanguageCommunityImpl extends HqdmObject implements LanguageCommunity { + /** + * Constructs a new LanguageCommunity. + * + * @param id String of the LanguageCommunity. + */ + public LanguageCommunityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/MoneyAssetImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/MoneyAssetImpl.java new file mode 100755 index 00000000..ae306e0e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/MoneyAssetImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.MoneyAsset; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of MoneyAsset. + */ +public class MoneyAssetImpl extends HqdmObject implements MoneyAsset { + /** + * Constructs a new MoneyAsset. + * + * @param id String of the MoneyAsset. + */ + public MoneyAssetImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferAndAcceptanceForGoodsImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferAndAcceptanceForGoodsImpl.java new file mode 100755 index 00000000..21522130 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferAndAcceptanceForGoodsImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.OfferAndAcceptanceForGoods; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of OfferAndAcceptanceForGoods. + */ +public class OfferAndAcceptanceForGoodsImpl extends HqdmObject implements OfferAndAcceptanceForGoods { + /** + * Constructs a new OfferAndAcceptanceForGoods. + * + * @param id String of the OfferAndAcceptanceForGoods. + */ + public OfferAndAcceptanceForGoodsImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferForGoodsImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferForGoodsImpl.java new file mode 100755 index 00000000..d54dfb68 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferForGoodsImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.OfferForGoods; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of OfferForGoods. + */ +public class OfferForGoodsImpl extends HqdmObject implements OfferForGoods { + /** + * Constructs a new OfferForGoods. + * + * @param id String of the OfferForGoods. + */ + public OfferForGoodsImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferImpl.java new file mode 100755 index 00000000..8eacf80d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Offer; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Offer. + */ +public class OfferImpl extends HqdmObject implements Offer { + /** + * Constructs a new Offer. + * + * @param id String of the Offer. + */ + public OfferImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferingImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferingImpl.java new file mode 100755 index 00000000..bc3ea4b4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OfferingImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Offering; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Offering. + */ +public class OfferingImpl extends HqdmObject implements Offering { + /** + * Constructs a new Offering. + * + * @param id String of the Offering. + */ + public OfferingImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryBiologicalObjectImpl.java new file mode 100755 index 00000000..b92bbd14 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.OrdinaryBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of OrdinaryBiologicalObject. + */ +public class OrdinaryBiologicalObjectImpl extends HqdmObject implements OrdinaryBiologicalObject { + /** + * Constructs a new OrdinaryBiologicalObject. + * + * @param id String of the OrdinaryBiologicalObject. + */ + public OrdinaryBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryFunctionalObjectImpl.java new file mode 100755 index 00000000..8cc39c55 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.OrdinaryFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of OrdinaryFunctionalObject. + */ +public class OrdinaryFunctionalObjectImpl extends HqdmObject implements OrdinaryFunctionalObject { + /** + * Constructs a new OrdinaryFunctionalObject. + * + * @param id String of the OrdinaryFunctionalObject. + */ + public OrdinaryFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryPhysicalObjectImpl.java new file mode 100755 index 00000000..58a63002 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrdinaryPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.OrdinaryPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of OrdinaryPhysicalObject. + */ +public class OrdinaryPhysicalObjectImpl extends HqdmObject implements OrdinaryPhysicalObject { + /** + * Constructs a new OrdinaryPhysicalObject. + * + * @param id String of the OrdinaryPhysicalObject. + */ + public OrdinaryPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrganizationComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrganizationComponentImpl.java new file mode 100755 index 00000000..672eb388 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrganizationComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.OrganizationComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of OrganizationComponent. + */ +public class OrganizationComponentImpl extends HqdmObject implements OrganizationComponent { + /** + * Constructs a new OrganizationComponent. + * + * @param id String of the OrganizationComponent. + */ + public OrganizationComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrganizationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrganizationImpl.java new file mode 100755 index 00000000..f07f35b1 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OrganizationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Organization; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Organization. + */ +public class OrganizationImpl extends HqdmObject implements Organization { + /** + * Constructs a new Organization. + * + * @param id String of the Organization. + */ + public OrganizationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OwnerImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OwnerImpl.java new file mode 100755 index 00000000..4654bdef --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OwnerImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Owner; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Owner. + */ +public class OwnerImpl extends HqdmObject implements Owner { + /** + * Constructs a new Owner. + * + * @param id String of the Owner. + */ + public OwnerImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OwnershipImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OwnershipImpl.java new file mode 100755 index 00000000..bdbfdf3e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/OwnershipImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Ownership; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Ownership. + */ +public class OwnershipImpl extends HqdmObject implements Ownership { + /** + * Constructs a new Ownership. + * + * @param id String of the Ownership. + */ + public OwnershipImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ParticipantImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ParticipantImpl.java new file mode 100755 index 00000000..765d7b6e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ParticipantImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Participant; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Participant. + */ +public class ParticipantImpl extends HqdmObject implements Participant { + /** + * Constructs a new Participant. + * + * @param id String of the Participant. + */ + public ParticipantImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ParticipantInActivityOrAssociationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ParticipantInActivityOrAssociationImpl.java new file mode 100755 index 00000000..8c9f7f5b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ParticipantInActivityOrAssociationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ParticipantInActivityOrAssociation; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ParticipantInActivityOrAssociation. + */ +public class ParticipantInActivityOrAssociationImpl extends HqdmObject implements ParticipantInActivityOrAssociation { + /** + * Constructs a new ParticipantInActivityOrAssociation. + * + * @param id String of the ParticipantInActivityOrAssociation. + */ + public ParticipantInActivityOrAssociationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PartyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PartyImpl.java new file mode 100755 index 00000000..4c45612d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PartyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Party; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Party. + */ +public class PartyImpl extends HqdmObject implements Party { + /** + * Constructs a new Party. + * + * @param id String of the Party. + */ + public PartyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PatternImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PatternImpl.java new file mode 100755 index 00000000..3661a20e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PatternImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Pattern; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Pattern. + */ +public class PatternImpl extends HqdmObject implements Pattern { + /** + * Constructs a new Pattern. + * + * @param id String of the Pattern. + */ + public PatternImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PeriodOfTimeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PeriodOfTimeImpl.java new file mode 100755 index 00000000..67491e87 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PeriodOfTimeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PeriodOfTime; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PeriodOfTime. + */ +public class PeriodOfTimeImpl extends HqdmObject implements PeriodOfTime { + /** + * Constructs a new PeriodOfTime. + * + * @param id String of the PeriodOfTime. + */ + public PeriodOfTimeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PersonImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PersonImpl.java new file mode 100755 index 00000000..487f0ce3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PersonImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Person; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Person. + */ +public class PersonImpl extends HqdmObject implements Person { + /** + * Constructs a new Person. + * + * @param id String of the Person. + */ + public PersonImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PersonInPositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PersonInPositionImpl.java new file mode 100755 index 00000000..243f1aa2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PersonInPositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PersonInPosition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PersonInPosition. + */ +public class PersonInPositionImpl extends HqdmObject implements PersonInPosition { + /** + * Constructs a new PersonInPosition. + * + * @param id String of the PersonInPosition. + */ + public PersonInPositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalObjectImpl.java new file mode 100755 index 00000000..d16f7f15 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PhysicalObject. + */ +public class PhysicalObjectImpl extends HqdmObject implements PhysicalObject { + /** + * Constructs a new PhysicalObject. + * + * @param id String of the PhysicalObject. + */ + public PhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalPropertyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalPropertyImpl.java new file mode 100755 index 00000000..c86f36e2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalPropertyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PhysicalProperty; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PhysicalProperty. + */ +public class PhysicalPropertyImpl extends HqdmObject implements PhysicalProperty { + /** + * Constructs a new PhysicalProperty. + * + * @param id String of the PhysicalProperty. + */ + public PhysicalPropertyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalPropertyRangeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalPropertyRangeImpl.java new file mode 100755 index 00000000..d79c1ccc --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalPropertyRangeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PhysicalPropertyRange; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PhysicalPropertyRange. + */ +public class PhysicalPropertyRangeImpl extends HqdmObject implements PhysicalPropertyRange { + /** + * Constructs a new PhysicalPropertyRange. + * + * @param id String of the PhysicalPropertyRange. + */ + public PhysicalPropertyRangeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalQuantityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalQuantityImpl.java new file mode 100755 index 00000000..c344602c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalQuantityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PhysicalQuantity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PhysicalQuantity. + */ +public class PhysicalQuantityImpl extends HqdmObject implements PhysicalQuantity { + /** + * Constructs a new PhysicalQuantity. + * + * @param id String of the PhysicalQuantity. + */ + public PhysicalQuantityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalQuantityRangeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalQuantityRangeImpl.java new file mode 100755 index 00000000..8b6dc2ff --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PhysicalQuantityRangeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PhysicalQuantityRange; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PhysicalQuantityRange. + */ +public class PhysicalQuantityRangeImpl extends HqdmObject implements PhysicalQuantityRange { + /** + * Constructs a new PhysicalQuantityRange. + * + * @param id String of the PhysicalQuantityRange. + */ + public PhysicalQuantityRangeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PlanImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PlanImpl.java new file mode 100755 index 00000000..50e9deb2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PlanImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Plan; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Plan. + */ +public class PlanImpl extends HqdmObject implements Plan { + /** + * Constructs a new Plan. + * + * @param id String of the Plan. + */ + public PlanImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PointInTimeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PointInTimeImpl.java new file mode 100755 index 00000000..71490dc2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PointInTimeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PointInTime; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PointInTime. + */ +public class PointInTimeImpl extends HqdmObject implements PointInTime { + /** + * Constructs a new PointInTime. + * + * @param id String of the PointInTime. + */ + public PointInTimeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PositionImpl.java new file mode 100755 index 00000000..641720c3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Position; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Position. + */ +public class PositionImpl extends HqdmObject implements Position { + /** + * Constructs a new Position. + * + * @param id String of the Position. + */ + public PositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PossibleWorldImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PossibleWorldImpl.java new file mode 100755 index 00000000..fc5ebc6d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PossibleWorldImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.PossibleWorld; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of PossibleWorld. + */ +public class PossibleWorldImpl extends HqdmObject implements PossibleWorld { + /** + * Constructs a new PossibleWorld. + * + * @param id String of the PossibleWorld. + */ + public PossibleWorldImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PriceImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PriceImpl.java new file mode 100755 index 00000000..c7ab38df --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/PriceImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Price; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Price. + */ +public class PriceImpl extends HqdmObject implements Price { + /** + * Constructs a new Price. + * + * @param id String of the Price. + */ + public PriceImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ProductBrandImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ProductBrandImpl.java new file mode 100755 index 00000000..c01356ad --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ProductBrandImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ProductBrand; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ProductBrand. + */ +public class ProductBrandImpl extends HqdmObject implements ProductBrand { + /** + * Constructs a new ProductBrand. + * + * @param id String of the ProductBrand. + */ + public ProductBrandImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ProductOfferingImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ProductOfferingImpl.java new file mode 100755 index 00000000..2f23b0b2 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ProductOfferingImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ProductOffering; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ProductOffering. + */ +public class ProductOfferingImpl extends HqdmObject implements ProductOffering { + /** + * Constructs a new ProductOffering. + * + * @param id String of the ProductOffering. + */ + public ProductOfferingImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ReachingAgreementImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ReachingAgreementImpl.java new file mode 100755 index 00000000..19eacf74 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ReachingAgreementImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.ReachingAgreement; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of ReachingAgreement. + */ +public class ReachingAgreementImpl extends HqdmObject implements ReachingAgreement { + /** + * Constructs a new ReachingAgreement. + * + * @param id String of the ReachingAgreement. + */ + public ReachingAgreementImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RecognizingLanguageCommunityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RecognizingLanguageCommunityImpl.java new file mode 100755 index 00000000..265f6344 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RecognizingLanguageCommunityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.RecognizingLanguageCommunity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of RecognizingLanguageCommunity. + */ +public class RecognizingLanguageCommunityImpl extends HqdmObject implements RecognizingLanguageCommunity { + /** + * Constructs a new RecognizingLanguageCommunity. + * + * @param id String of the RecognizingLanguageCommunity. + */ + public RecognizingLanguageCommunityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RelationshipImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RelationshipImpl.java new file mode 100755 index 00000000..5a7bf06e --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RelationshipImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Relationship; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Relationship. + */ +public class RelationshipImpl extends HqdmObject implements Relationship { + /** + * Constructs a new Relationship. + * + * @param id String of the Relationship. + */ + public RelationshipImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RepresentationByPatternImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RepresentationByPatternImpl.java new file mode 100755 index 00000000..a1c53785 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RepresentationByPatternImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.RepresentationByPattern; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of RepresentationByPattern. + */ +public class RepresentationByPatternImpl extends HqdmObject implements RepresentationByPattern { + /** + * Constructs a new RepresentationByPattern. + * + * @param id String of the RepresentationByPattern. + */ + public RepresentationByPatternImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RepresentationBySignImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RepresentationBySignImpl.java new file mode 100755 index 00000000..734e36a8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RepresentationBySignImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.RepresentationBySign; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of RepresentationBySign. + */ +public class RepresentationBySignImpl extends HqdmObject implements RepresentationBySign { + /** + * Constructs a new RepresentationBySign. + * + * @param id String of the RepresentationBySign. + */ + public RepresentationBySignImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RequirementImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RequirementImpl.java new file mode 100755 index 00000000..e6a88301 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RequirementImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Requirement; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Requirement. + */ +public class RequirementImpl extends HqdmObject implements Requirement { + /** + * Constructs a new Requirement. + * + * @param id String of the Requirement. + */ + public RequirementImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RequirementSpecificationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RequirementSpecificationImpl.java new file mode 100755 index 00000000..58e8c418 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RequirementSpecificationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.RequirementSpecification; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of RequirementSpecification. + */ +public class RequirementSpecificationImpl extends HqdmObject implements RequirementSpecification { + /** + * Constructs a new RequirementSpecification. + * + * @param id String of the RequirementSpecification. + */ + public RequirementSpecificationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RoleImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RoleImpl.java new file mode 100755 index 00000000..365ea6d4 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/RoleImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Role; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Role. + */ +public class RoleImpl extends HqdmObject implements Role { + /** + * Constructs a new Role. + * + * @param id String of the Role. + */ + public RoleImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SaleOfGoodsImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SaleOfGoodsImpl.java new file mode 100755 index 00000000..081bca54 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SaleOfGoodsImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SaleOfGoods; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SaleOfGoods. + */ +public class SaleOfGoodsImpl extends HqdmObject implements SaleOfGoods { + /** + * Constructs a new SaleOfGoods. + * + * @param id String of the SaleOfGoods. + */ + public SaleOfGoodsImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductImpl.java new file mode 100755 index 00000000..42025854 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SalesProduct; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SalesProduct. + */ +public class SalesProductImpl extends HqdmObject implements SalesProduct { + /** + * Constructs a new SalesProduct. + * + * @param id String of the SalesProduct. + */ + public SalesProductImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductInstanceImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductInstanceImpl.java new file mode 100755 index 00000000..3f7b96cc --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductInstanceImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SalesProductInstance; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SalesProductInstance. + */ +public class SalesProductInstanceImpl extends HqdmObject implements SalesProductInstance { + /** + * Constructs a new SalesProductInstance. + * + * @param id String of the SalesProductInstance. + */ + public SalesProductInstanceImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductVersionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductVersionImpl.java new file mode 100755 index 00000000..85151900 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SalesProductVersionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SalesProductVersion; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SalesProductVersion. + */ +public class SalesProductVersionImpl extends HqdmObject implements SalesProductVersion { + /** + * Constructs a new SalesProductVersion. + * + * @param id String of the SalesProductVersion. + */ + public SalesProductVersionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ScaleImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ScaleImpl.java new file mode 100755 index 00000000..afac7c12 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ScaleImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Scale; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Scale. + */ +public class ScaleImpl extends HqdmObject implements Scale { + /** + * Constructs a new Scale. + * + * @param id String of the Scale. + */ + public ScaleImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SignImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SignImpl.java new file mode 100755 index 00000000..fbf3d958 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SignImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Sign; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Sign. + */ +public class SignImpl extends HqdmObject implements Sign { + /** + * Constructs a new Sign. + * + * @param id String of the Sign. + */ + public SignImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SociallyConstructedActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SociallyConstructedActivityImpl.java new file mode 100755 index 00000000..b1efaf27 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SociallyConstructedActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SociallyConstructedActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SociallyConstructedActivity. + */ +public class SociallyConstructedActivityImpl extends HqdmObject implements SociallyConstructedActivity { + /** + * Constructs a new SociallyConstructedActivity. + * + * @param id String of the SociallyConstructedActivity. + */ + public SociallyConstructedActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SociallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SociallyConstructedObjectImpl.java new file mode 100755 index 00000000..514cc759 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SociallyConstructedObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SociallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SociallyConstructedObject. + */ +public class SociallyConstructedObjectImpl extends HqdmObject implements SociallyConstructedObject { + /** + * Constructs a new SociallyConstructedObject. + * + * @param id String of the SociallyConstructedObject. + */ + public SociallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SpatioTemporalExtentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SpatioTemporalExtentImpl.java new file mode 100755 index 00000000..9c774d2b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SpatioTemporalExtentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SpatioTemporalExtent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SpatioTemporalExtent. + */ +public class SpatioTemporalExtentImpl extends HqdmObject implements SpatioTemporalExtent { + /** + * Constructs a new SpatioTemporalExtent. + * + * @param id String of the SpatioTemporalExtent. + */ + public SpatioTemporalExtentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SpecializationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SpecializationImpl.java new file mode 100755 index 00000000..ab5bce61 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SpecializationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Specialization; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Specialization. + */ +public class SpecializationImpl extends HqdmObject implements Specialization { + /** + * Constructs a new Specialization. + * + * @param id String of the Specialization. + */ + public SpecializationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateImpl.java new file mode 100755 index 00000000..ab69bfff --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.State; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of State. + */ +public class StateImpl extends HqdmObject implements State { + /** + * Constructs a new State. + * + * @param id String of the State. + */ + public StateImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfActivityImpl.java new file mode 100755 index 00000000..a3463075 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfActivity. + */ +public class StateOfActivityImpl extends HqdmObject implements StateOfActivity { + /** + * Constructs a new StateOfActivity. + * + * @param id String of the StateOfActivity. + */ + public StateOfActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfAmountOfMoneyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfAmountOfMoneyImpl.java new file mode 100755 index 00000000..8581962f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfAmountOfMoneyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfAmountOfMoney; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfAmountOfMoney. + */ +public class StateOfAmountOfMoneyImpl extends HqdmObject implements StateOfAmountOfMoney { + /** + * Constructs a new StateOfAmountOfMoney. + * + * @param id String of the StateOfAmountOfMoney. + */ + public StateOfAmountOfMoneyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfAssociationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfAssociationImpl.java new file mode 100755 index 00000000..079e76ce --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfAssociationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfAssociation; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfAssociation. + */ +public class StateOfAssociationImpl extends HqdmObject implements StateOfAssociation { + /** + * Constructs a new StateOfAssociation. + * + * @param id String of the StateOfAssociation. + */ + public StateOfAssociationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalObjectImpl.java new file mode 100755 index 00000000..8fde03a5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfBiologicalObject. + */ +public class StateOfBiologicalObjectImpl extends HqdmObject implements StateOfBiologicalObject { + /** + * Constructs a new StateOfBiologicalObject. + * + * @param id String of the StateOfBiologicalObject. + */ + public StateOfBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalSystemComponentImpl.java new file mode 100755 index 00000000..15fab1dd --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfBiologicalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfBiologicalSystemComponent. + */ +public class StateOfBiologicalSystemComponentImpl extends HqdmObject implements StateOfBiologicalSystemComponent { + /** + * Constructs a new StateOfBiologicalSystemComponent. + * + * @param id String of the StateOfBiologicalSystemComponent. + */ + public StateOfBiologicalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalSystemImpl.java new file mode 100755 index 00000000..5220d79a --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfBiologicalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfBiologicalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfBiologicalSystem. + */ +public class StateOfBiologicalSystemImpl extends HqdmObject implements StateOfBiologicalSystem { + /** + * Constructs a new StateOfBiologicalSystem. + * + * @param id String of the StateOfBiologicalSystem. + */ + public StateOfBiologicalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalObjectImpl.java new file mode 100755 index 00000000..0b17a3ab --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfFunctionalObject. + */ +public class StateOfFunctionalObjectImpl extends HqdmObject implements StateOfFunctionalObject { + /** + * Constructs a new StateOfFunctionalObject. + * + * @param id String of the StateOfFunctionalObject. + */ + public StateOfFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalSystemComponentImpl.java new file mode 100755 index 00000000..eaebd461 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfFunctionalSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfFunctionalSystemComponent. + */ +public class StateOfFunctionalSystemComponentImpl extends HqdmObject implements StateOfFunctionalSystemComponent { + /** + * Constructs a new StateOfFunctionalSystemComponent. + * + * @param id String of the StateOfFunctionalSystemComponent. + */ + public StateOfFunctionalSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalSystemImpl.java new file mode 100755 index 00000000..4aceaf76 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfFunctionalSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfFunctionalSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfFunctionalSystem. + */ +public class StateOfFunctionalSystemImpl extends HqdmObject implements StateOfFunctionalSystem { + /** + * Constructs a new StateOfFunctionalSystem. + * + * @param id String of the StateOfFunctionalSystem. + */ + public StateOfFunctionalSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfIntentionallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfIntentionallyConstructedObjectImpl.java new file mode 100755 index 00000000..5d0ab4ea --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfIntentionallyConstructedObjectImpl.java @@ -0,0 +1,33 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfIntentionallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfIntentionallyConstructedObject. + */ +public class StateOfIntentionallyConstructedObjectImpl extends HqdmObject + implements StateOfIntentionallyConstructedObject { + /** + * Constructs a new StateOfIntentionallyConstructedObject. + * + * @param id String of the StateOfIntentionallyConstructedObject. + */ + public StateOfIntentionallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfLanguageCommunityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfLanguageCommunityImpl.java new file mode 100755 index 00000000..9b2e26ab --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfLanguageCommunityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfLanguageCommunity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfLanguageCommunity. + */ +public class StateOfLanguageCommunityImpl extends HqdmObject implements StateOfLanguageCommunity { + /** + * Constructs a new StateOfLanguageCommunity. + * + * @param id String of the StateOfLanguageCommunity. + */ + public StateOfLanguageCommunityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryBiologicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryBiologicalObjectImpl.java new file mode 100755 index 00000000..1bfeb5b3 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryBiologicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfOrdinaryBiologicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfOrdinaryBiologicalObject. + */ +public class StateOfOrdinaryBiologicalObjectImpl extends HqdmObject implements StateOfOrdinaryBiologicalObject { + /** + * Constructs a new StateOfOrdinaryBiologicalObject. + * + * @param id String of the StateOfOrdinaryBiologicalObject. + */ + public StateOfOrdinaryBiologicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryFunctionalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryFunctionalObjectImpl.java new file mode 100755 index 00000000..07772d57 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryFunctionalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfOrdinaryFunctionalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfOrdinaryFunctionalObject. + */ +public class StateOfOrdinaryFunctionalObjectImpl extends HqdmObject implements StateOfOrdinaryFunctionalObject { + /** + * Constructs a new StateOfOrdinaryFunctionalObject. + * + * @param id String of the StateOfOrdinaryFunctionalObject. + */ + public StateOfOrdinaryFunctionalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryPhysicalObjectImpl.java new file mode 100755 index 00000000..e611ab10 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrdinaryPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfOrdinaryPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfOrdinaryPhysicalObject. + */ +public class StateOfOrdinaryPhysicalObjectImpl extends HqdmObject implements StateOfOrdinaryPhysicalObject { + /** + * Constructs a new StateOfOrdinaryPhysicalObject. + * + * @param id String of the StateOfOrdinaryPhysicalObject. + */ + public StateOfOrdinaryPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrganizationComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrganizationComponentImpl.java new file mode 100755 index 00000000..f0ad6493 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrganizationComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfOrganizationComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfOrganizationComponent. + */ +public class StateOfOrganizationComponentImpl extends HqdmObject implements StateOfOrganizationComponent { + /** + * Constructs a new StateOfOrganizationComponent. + * + * @param id String of the StateOfOrganizationComponent. + */ + public StateOfOrganizationComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrganizationImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrganizationImpl.java new file mode 100755 index 00000000..4244c316 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfOrganizationImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfOrganization; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfOrganization. + */ +public class StateOfOrganizationImpl extends HqdmObject implements StateOfOrganization { + /** + * Constructs a new StateOfOrganization. + * + * @param id String of the StateOfOrganization. + */ + public StateOfOrganizationImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPartyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPartyImpl.java new file mode 100755 index 00000000..825a2787 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPartyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfParty; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfParty. + */ +public class StateOfPartyImpl extends HqdmObject implements StateOfParty { + /** + * Constructs a new StateOfParty. + * + * @param id String of the StateOfParty. + */ + public StateOfPartyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPersonImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPersonImpl.java new file mode 100755 index 00000000..4ba88e47 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPersonImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfPerson; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfPerson. + */ +public class StateOfPersonImpl extends HqdmObject implements StateOfPerson { + /** + * Constructs a new StateOfPerson. + * + * @param id String of the StateOfPerson. + */ + public StateOfPersonImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPhysicalObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPhysicalObjectImpl.java new file mode 100755 index 00000000..a1de655f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPhysicalObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfPhysicalObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfPhysicalObject. + */ +public class StateOfPhysicalObjectImpl extends HqdmObject implements StateOfPhysicalObject { + /** + * Constructs a new StateOfPhysicalObject. + * + * @param id String of the StateOfPhysicalObject. + */ + public StateOfPhysicalObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPositionImpl.java new file mode 100755 index 00000000..407bc14c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfPositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfPosition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfPosition. + */ +public class StateOfPositionImpl extends HqdmObject implements StateOfPosition { + /** + * Constructs a new StateOfPosition. + * + * @param id String of the StateOfPosition. + */ + public StateOfPositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSalesProductInstanceImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSalesProductInstanceImpl.java new file mode 100755 index 00000000..e21766d8 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSalesProductInstanceImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfSalesProductInstance; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfSalesProductInstance. + */ +public class StateOfSalesProductInstanceImpl extends HqdmObject implements StateOfSalesProductInstance { + /** + * Constructs a new StateOfSalesProductInstance. + * + * @param id String of the StateOfSalesProductInstance. + */ + public StateOfSalesProductInstanceImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSignImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSignImpl.java new file mode 100755 index 00000000..5ec70682 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSignImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfSign; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfSign. + */ +public class StateOfSignImpl extends HqdmObject implements StateOfSign { + /** + * Constructs a new StateOfSign. + * + * @param id String of the StateOfSign. + */ + public StateOfSignImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSociallyConstructedActivityImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSociallyConstructedActivityImpl.java new file mode 100755 index 00000000..c7f2928c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSociallyConstructedActivityImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfSociallyConstructedActivity; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfSociallyConstructedActivity. + */ +public class StateOfSociallyConstructedActivityImpl extends HqdmObject implements StateOfSociallyConstructedActivity { + /** + * Constructs a new StateOfSociallyConstructedActivity. + * + * @param id String of the StateOfSociallyConstructedActivity. + */ + public StateOfSociallyConstructedActivityImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSociallyConstructedObjectImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSociallyConstructedObjectImpl.java new file mode 100755 index 00000000..c10f0d90 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSociallyConstructedObjectImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfSociallyConstructedObject; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfSociallyConstructedObject. + */ +public class StateOfSociallyConstructedObjectImpl extends HqdmObject implements StateOfSociallyConstructedObject { + /** + * Constructs a new StateOfSociallyConstructedObject. + * + * @param id String of the StateOfSociallyConstructedObject. + */ + public StateOfSociallyConstructedObjectImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSystemComponentImpl.java new file mode 100755 index 00000000..7b5a78d6 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfSystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfSystemComponent. + */ +public class StateOfSystemComponentImpl extends HqdmObject implements StateOfSystemComponent { + /** + * Constructs a new StateOfSystemComponent. + * + * @param id String of the StateOfSystemComponent. + */ + public StateOfSystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSystemImpl.java new file mode 100755 index 00000000..41856a3c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/StateOfSystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.StateOfSystem; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of StateOfSystem. + */ +public class StateOfSystemImpl extends HqdmObject implements StateOfSystem { + /** + * Constructs a new StateOfSystem. + * + * @param id String of the StateOfSystem. + */ + public StateOfSystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SystemComponentImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SystemComponentImpl.java new file mode 100755 index 00000000..65a86b38 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SystemComponentImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.SystemComponent; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of SystemComponent. + */ +public class SystemComponentImpl extends HqdmObject implements SystemComponent { + /** + * Constructs a new SystemComponent. + * + * @param id String of the SystemComponent. + */ + public SystemComponentImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SystemImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SystemImpl.java new file mode 100755 index 00000000..6e3f59bb --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/SystemImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.System; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of System. + */ +public class SystemImpl extends HqdmObject implements System { + /** + * Constructs a new System. + * + * @param id String of the System. + */ + public SystemImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TemporalCompositionImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TemporalCompositionImpl.java new file mode 100755 index 00000000..aae6d66c --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TemporalCompositionImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.TemporalComposition; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of TemporalComposition. + */ +public class TemporalCompositionImpl extends HqdmObject implements TemporalComposition { + /** + * Constructs a new TemporalComposition. + * + * @param id String of the TemporalComposition. + */ + public TemporalCompositionImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ThingImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ThingImpl.java new file mode 100755 index 00000000..20e243b5 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/ThingImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Thing; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Thing. + */ +public class ThingImpl extends HqdmObject implements Thing { + /** + * Constructs a new Thing. + * + * @param id String of the Thing. + */ + public ThingImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferOfOwnershipImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferOfOwnershipImpl.java new file mode 100755 index 00000000..af987304 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferOfOwnershipImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.TransferOfOwnership; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of TransferOfOwnership. + */ +public class TransferOfOwnershipImpl extends HqdmObject implements TransferOfOwnership { + /** + * Constructs a new TransferOfOwnership. + * + * @param id String of the TransferOfOwnership. + */ + public TransferOfOwnershipImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferOfOwnershipOfMoneyImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferOfOwnershipOfMoneyImpl.java new file mode 100755 index 00000000..ac3bf8ae --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferOfOwnershipOfMoneyImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.TransferOfOwnershipOfMoney; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of TransferOfOwnershipOfMoney. + */ +public class TransferOfOwnershipOfMoneyImpl extends HqdmObject implements TransferOfOwnershipOfMoney { + /** + * Constructs a new TransferOfOwnershipOfMoney. + * + * @param id String of the TransferOfOwnershipOfMoney. + */ + public TransferOfOwnershipOfMoneyImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransfereeImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransfereeImpl.java new file mode 100755 index 00000000..d68c897b --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransfereeImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Transferee; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Transferee. + */ +public class TransfereeImpl extends HqdmObject implements Transferee { + /** + * Constructs a new Transferee. + * + * @param id String of the Transferee. + */ + public TransfereeImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferorImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferorImpl.java new file mode 100755 index 00000000..211ba226 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/TransferorImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.Transferor; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of Transferor. + */ +public class TransferorImpl extends HqdmObject implements Transferor { + /** + * Constructs a new Transferor. + * + * @param id String of the Transferor. + */ + public TransferorImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/UnitOfMeasureImpl.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/UnitOfMeasureImpl.java new file mode 100755 index 00000000..4b51e25f --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/UnitOfMeasureImpl.java @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.model.impl; + +import uk.gov.gchq.magmacore.hqdm.model.UnitOfMeasure; +import uk.gov.gchq.magmacore.hqdm.pojo.HqdmObject; + +/** + * An implementation of UnitOfMeasure. + */ +public class UnitOfMeasureImpl extends HqdmObject implements UnitOfMeasure { + /** + * Constructs a new UnitOfMeasure. + * + * @param id String of the UnitOfMeasure. + */ + public UnitOfMeasureImpl(final String id) { + super(id); + } +} diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/package-info.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/package-info.java new file mode 100644 index 00000000..d920063d --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/impl/package-info.java @@ -0,0 +1,18 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +/** + * Basic implementations for HQDM Java objects defined in {@code uk.gov.gchq.magmacore.hqdm.model}. + */ +package uk.gov.gchq.magmacore.hqdm.model.impl; diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/package-info.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/package-info.java new file mode 100644 index 00000000..45dd4035 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/model/package-info.java @@ -0,0 +1,18 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +/** + * HQDM object interfaces defining HQDM class inheritance. + */ +package uk.gov.gchq.magmacore.hqdm.model; diff --git a/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/pojo/HqdmObject.java b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/pojo/HqdmObject.java new file mode 100755 index 00000000..405bd879 --- /dev/null +++ b/hqdm/src/main/java/uk/gov/gchq/magmacore/hqdm/pojo/HqdmObject.java @@ -0,0 +1,233 @@ +/* + * Copyright 2021 Crown Copyright + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package uk.gov.gchq.magmacore.hqdm.pojo; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Objects; +import java.util.Set; + +import uk.gov.gchq.magmacore.hqdm.model.Thing; + +/** + * Basic implementation of a HQDM object. + */ +public abstract class HqdmObject implements Thing { + + private String id; + + private final Map