Class SubjectAreaRelationship
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.client.relationships.SubjectAreaRelationship
- All Implemented Interfaces:
SubjectAreaRelationshipClients
The OMAS client library implementation of the Subject Area OMAS.
This interface provides relationship
Relationship
authoring interface for subject area experts.-
Constructor Summary
ConstructorsConstructorDescriptionSubjectAreaRelationship
(SubjectAreaRestClient subjectAreaRestClient) The constructor uses the current package to scan "org.odpi.openmetadata.accessservices.subjectarea.client.relationships" to search for classes placed by annotationSubjectAreaRelationshipClient
.SubjectAreaRelationship
(SubjectAreaRestClient subjectAreaRestClient, String... packagesToScan) -
Method Summary
Modifier and TypeMethodDescriptionantonym()
<T extends Relationship>
SubjectAreaRelationshipClienthasA()
isA()
synonym()
typedBy()
-
Constructor Details
-
SubjectAreaRelationship
public SubjectAreaRelationship(SubjectAreaRestClient subjectAreaRestClient, String... packagesToScan) - Parameters:
packagesToScan
- - search packages for finding classes placed by annotationSubjectAreaRelationshipClient
subjectAreaRestClient
- - rest client for Subject Area OMAS REST APIs
-
SubjectAreaRelationship
The constructor uses the current package to scan "org.odpi.openmetadata.accessservices.subjectarea.client.relationships" to search for classes placed by annotationSubjectAreaRelationshipClient
.- Parameters:
subjectAreaRestClient
- - rest client for Subject Area OMAS REST APIs
-
-
Method Details
-
hasA
- Specified by:
hasA
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with HasA objects
-
termAnchor
- Specified by:
termAnchor
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with TermAnchor objects
-
projectScope
- Specified by:
projectScope
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with ProjectScope objects
-
synonym
- Specified by:
synonym
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with Synonym objects
-
antonym
- Specified by:
antonym
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with Antonym objects
-
translation
- Specified by:
translation
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with Translation objects
-
usedInContext
- Specified by:
usedInContext
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with UsedInContext objects
-
preferredTerm
- Specified by:
preferredTerm
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with PreferredTerm objects
-
validValue
- Specified by:
validValue
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with ValidValue objects
-
replacementTerm
- Specified by:
replacementTerm
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with ReplacementTerm objects
-
typedBy
- Specified by:
typedBy
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with TypedBy objects
-
isA
- Specified by:
isA
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with IsA objects
-
isaTypeOfDeprecated
- Specified by:
isaTypeOfDeprecated
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with IsaTypeOfDeprecated objects
-
isATypeOf
- Specified by:
isATypeOf
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with IsATypeOf objects
-
termCategorization
- Specified by:
termCategorization
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with Categorization objects
-
semanticAssignment
- Specified by:
semanticAssignment
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with SemanticAssignment objects
-
categoryHierarchyLink
- Specified by:
categoryHierarchyLink
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with CategoryHierarchyLink objects
-
categoryAnchor
- Specified by:
categoryAnchor
in interfaceSubjectAreaRelationshipClients
- Returns:
SubjectAreaRelationshipClient
for client calls(described inSubjectAreaClient
) when working with CategoryAnchor objects
-
getClient
- Type Parameters:
T
- -Relationship
type of object- Parameters:
clazz
- - the class for which you want to get the client from cache- Returns:
- SubjectAreaRelationshipClient or null if this client is not present
-