diff --git a/src/main/java/cz/cvut/kbss/analysis/model/ava/ATASystem.java b/src/main/java/cz/cvut/kbss/analysis/model/ava/ATASystem.java new file mode 100644 index 00000000..a18d5d5a --- /dev/null +++ b/src/main/java/cz/cvut/kbss/analysis/model/ava/ATASystem.java @@ -0,0 +1,23 @@ +package cz.cvut.kbss.analysis.model.ava; + +import cz.cvut.kbss.analysis.model.Component; +import cz.cvut.kbss.analysis.model.Item; +import cz.cvut.kbss.analysis.model.System; +import cz.cvut.kbss.analysis.util.Vocabulary; +import cz.cvut.kbss.jopa.model.annotations.OWLClass; +import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty; +import lombok.Getter; +import lombok.Setter; + +/** + * This entity represents an ATA system category. It can be used as a supertype to categorize an Item. + */ +@OWLClass(iri = Vocabulary.s_c_ata_system) +@Getter +@Setter +public class ATASystem extends Component { + + @OWLDataProperty(iri = Vocabulary.s_p_ata_code) + private String ataCode; + +} diff --git a/src/main/java/cz/cvut/kbss/analysis/model/ava/FHAEventType.java b/src/main/java/cz/cvut/kbss/analysis/model/ava/FHAEventType.java new file mode 100644 index 00000000..f54341d2 --- /dev/null +++ b/src/main/java/cz/cvut/kbss/analysis/model/ava/FHAEventType.java @@ -0,0 +1,28 @@ +package cz.cvut.kbss.analysis.model.ava; + +import cz.cvut.kbss.analysis.model.Event; +import cz.cvut.kbss.analysis.model.FaultEventType; +import cz.cvut.kbss.analysis.model.method.VerificationMethod; +import cz.cvut.kbss.analysis.util.Vocabulary; +import cz.cvut.kbss.jopa.model.annotations.OWLClass; +import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty; +import cz.cvut.kbss.jopa.model.annotations.OWLObjectProperty; +import lombok.Getter; +import lombok.Setter; + +import java.util.Set; + +@OWLClass(iri = Vocabulary.s_c_fha_fault_event) +@Setter +@Getter +public class FHAEventType extends FaultEventType { + + @OWLDataProperty(iri = Vocabulary.s_p_criticality) + private Set criticality; + + @OWLObjectProperty(iri = Vocabulary.s_c_verification_method) + private Set verificationMethods; + + @OWLDataProperty(iri = Vocabulary.s_p_material_reference) + private Set referencedMaterials; +} diff --git a/src/main/java/cz/cvut/kbss/analysis/model/ava/IndependentSNSItem.java b/src/main/java/cz/cvut/kbss/analysis/model/ava/IndependentSNSItem.java new file mode 100644 index 00000000..57956ba1 --- /dev/null +++ b/src/main/java/cz/cvut/kbss/analysis/model/ava/IndependentSNSItem.java @@ -0,0 +1,25 @@ +package cz.cvut.kbss.analysis.model.ava; + +import cz.cvut.kbss.analysis.model.Item; +import cz.cvut.kbss.analysis.util.Vocabulary; +import cz.cvut.kbss.jopa.model.annotations.OWLClass; +import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty; +import lombok.Getter; +import lombok.Setter; + +/** + * This entity represents a Kind (typeCategory should be set to Kind) of independent Item used as a component in the SNS + * partonomy identified by a partNumber and stock. + * + * + */ +@OWLClass(iri = Vocabulary.s_c_reusable_system) +@Getter +@Setter +public class IndependentSNSItem extends Item { + @OWLDataProperty(iri = Vocabulary.s_p_part_number) + private String partNumber; + + @OWLDataProperty(iri = Vocabulary.s_p_stock) + private String stock; +} diff --git a/src/main/java/cz/cvut/kbss/analysis/model/ava/SNSComponent.java b/src/main/java/cz/cvut/kbss/analysis/model/ava/SNSComponent.java new file mode 100644 index 00000000..56ce1f1f --- /dev/null +++ b/src/main/java/cz/cvut/kbss/analysis/model/ava/SNSComponent.java @@ -0,0 +1,27 @@ +package cz.cvut.kbss.analysis.model.ava; + +import cz.cvut.kbss.analysis.model.Component; +import cz.cvut.kbss.analysis.util.Vocabulary; +import cz.cvut.kbss.jopa.model.annotations.OWLClass; +import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty; +import lombok.Getter; +import lombok.Setter; + +import java.util.Set; + + +/* + * This entity represents component from an SNS partonomy. The SNSComponent categorized as a IndependentSNSItem Kind and + * or an ATASystem. + */ +@OWLClass(iri = Vocabulary.s_c_sns_component) +@Getter +@Setter +public class SNSComponent extends Component { + @OWLDataProperty(iri = Vocabulary.s_p_quantity) + private Integer quantity; + + @OWLDataProperty(iri = Vocabulary.s_p_schematic_designation) + private Set schematicDescription; + +} diff --git a/src/main/java/cz/cvut/kbss/analysis/model/method/VerificationMethod.java b/src/main/java/cz/cvut/kbss/analysis/model/method/VerificationMethod.java new file mode 100644 index 00000000..442bc6b8 --- /dev/null +++ b/src/main/java/cz/cvut/kbss/analysis/model/method/VerificationMethod.java @@ -0,0 +1,16 @@ +package cz.cvut.kbss.analysis.model.method; + +import cz.cvut.kbss.analysis.model.NamedEntity; +import cz.cvut.kbss.analysis.util.Vocabulary; +import cz.cvut.kbss.jopa.model.annotations.OWLClass; +import cz.cvut.kbss.jopa.model.annotations.OWLDataProperty; +import lombok.Getter; +import lombok.Setter; + +@OWLClass(iri = Vocabulary.s_c_verification_method) +@Getter +@Setter +public class VerificationMethod extends NamedEntity { + @OWLDataProperty(iri = Vocabulary.s_p_code) + public String code; +}