-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/main/java/cz/cvut/kbss/analysis/model/ava/ATASystem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
|
||
} |
28 changes: 28 additions & 0 deletions
28
src/main/java/cz/cvut/kbss/analysis/model/ava/FHAEventType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<Integer> criticality; | ||
|
||
@OWLObjectProperty(iri = Vocabulary.s_c_verification_method) | ||
private Set<VerificationMethod> verificationMethods; | ||
|
||
@OWLDataProperty(iri = Vocabulary.s_p_material_reference) | ||
private Set<String> referencedMaterials; | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/cz/cvut/kbss/analysis/model/ava/IndependentSNSItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
27 changes: 27 additions & 0 deletions
27
src/main/java/cz/cvut/kbss/analysis/model/ava/SNSComponent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<String> schematicDescription; | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/cz/cvut/kbss/analysis/model/method/VerificationMethod.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |