public interface Relationship extends RetirableETSComponent
CodingSchemeVersion
.
A relationship consists of a source concept, a relationship type, and a target concept.
The relationship type is itself a Concept
, for which
Concept.isRelationshipType()
will return true
.
The source concept, relationship type concept, and target concept must all exist in the
same coding scheme version.RetirableETSComponent
,
Concept
,
CodingSchemeVersion
Modifier and Type | Field and Description |
---|---|
static int |
CONCEPT_IS_RELATIONSHIP_ANY
Constant used by
getRelatedConcepts() methods to specify search type,
where the Concept in involved in a relationship in any way. |
static int |
CONCEPT_IS_RELATIONSHIP_RELATION_TYPE
Constant used by
getRelatedConcepts() methods to specify search type,
where the Concept is either the source or target in a relationship and
based on a specific relationship type. |
static int |
CONCEPT_IS_RELATIONSHIP_SOURCE
Constant used by
getRelatedConcepts() methods to specify search type,
based on the source Concept in a relationship. |
static int |
CONCEPT_IS_RELATIONSHIP_SOURCE_OR_TARGET
Constant used by
getRelatedConcepts() methods to specify search type,
where the Concept is either the source or target in a relationship. |
static int |
CONCEPT_IS_RELATIONSHIP_TARGET
Constant used by
getRelatedConcepts() methods to specify search type,
based on the target Concept in a relationship. |
Modifier and Type | Method and Description |
---|---|
Concept |
getRelationshipType()
Retrieves the relationship type concept of a relationship.
|
String |
getRelationshipTypeConceptID()
Returns the concept identifier of the relationship type concept in this
Relationship . |
Concept |
getSourceConcept()
Retrieves the source concept of a relationship.
|
String |
getSourceConceptID()
Returns the concept identifier of the source concept in this
Relationship . |
Concept |
getTargetConcept()
Retrieves the target concept of a relationship.
|
String |
getTargetConceptID()
Returns the concept identifier of the target concept in this
Relationship . |
getRetiredDate, getVersionID, isActive, isInternal, isQuarantined, isRetired
getAttributeNames, getAttributes, getAttributes
getCreationDate, getETSID, getImportDate, getLastUpdateDate
static final int CONCEPT_IS_RELATIONSHIP_SOURCE
getRelatedConcepts()
methods to specify search type,
based on the source Concept
in a relationship.static final int CONCEPT_IS_RELATIONSHIP_TARGET
getRelatedConcepts()
methods to specify search type,
based on the target Concept
in a relationship.static final int CONCEPT_IS_RELATIONSHIP_SOURCE_OR_TARGET
getRelatedConcepts()
methods to specify search type,
where the Concept
is either the source or target in a relationship.static final int CONCEPT_IS_RELATIONSHIP_RELATION_TYPE
getRelatedConcepts()
methods to specify search type,
where the Concept
is either the source or target in a relationship and
based on a specific relationship type.static final int CONCEPT_IS_RELATIONSHIP_ANY
getRelatedConcepts()
methods to specify search type,
where the Concept
in involved in a relationship in any way.Concept getSourceConcept() throws ETSDataException
ETSDataException
- If a data transport error occurs.Concept getRelationshipType() throws ETSDataException
ETSDataException
- If a data transport error occurs.Concept getTargetConcept() throws ETSDataException
ETSDataException
- If a data transport error occurs.String getSourceConceptID()
Relationship
.
The maximum length of this attribute is 30.Relationship
.String getRelationshipTypeConceptID()
Relationship
.
The maximum length of this attribute is 30.Relationship
.String getTargetConceptID()
Relationship
.
The maximum length of this attribute is 30.Relationship
.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved