Class RelationshipsFVT
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.fvt.RelationshipsFVT
-
public class RelationshipsFVT extends Object
FVT resource to call subject area relationships client API
-
-
Constructor Summary
Constructors Constructor Description RelationshipsFVT(String url, String serverName, String userId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckParent(Category parent, Category gotChildCategory)CategoryHierarchyLinkcreateCategoryHierarchyLink(Category parent, Category child)IsATypeOfcreateIsATypeOf(Term term1, Term term2)IsATypeOfDeprecatedcreateIsATypeOfDeprecated(Term term1, Term term2)protected ProjectScopecreateProjectScope(Project project, Term term)SynonymcreateSynonym(Term term1, Term term2)CategorizationcreateTermCategorization(Term term, Category category)static voidmain(String[] args)voidrun()static voidrunIt(String url, String serverName, String userId)static voidrunWith2Servers(String url)
-
-
-
Constructor Detail
-
RelationshipsFVT
public RelationshipsFVT(String url, String serverName, String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
-
Method Detail
-
main
public static void main(String[] args)
-
runWith2Servers
public static void runWith2Servers(String url) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
runIt
public static void runIt(String url, String serverName, String userId) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
run
public void run() throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
createSynonym
public Synonym createSynonym(Term term1, Term term2) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
createIsATypeOfDeprecated
public IsATypeOfDeprecated createIsATypeOfDeprecated(Term term1, Term term2) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException
-
createIsATypeOf
public IsATypeOf createIsATypeOf(Term term1, Term term2) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException
-
createTermCategorization
public Categorization createTermCategorization(Term term, Category category) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException
-
createProjectScope
protected ProjectScope createProjectScope(Project project, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException
-
createCategoryHierarchyLink
public CategoryHierarchyLink createCategoryHierarchyLink(Category parent, Category child) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException
-
checkParent
public void checkParent(Category parent, Category gotChildCategory) throws SubjectAreaFVTCheckedException
- Throws:
SubjectAreaFVTCheckedException
-
-