Class ViewServiceRegistrationEntry
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.registration.ViewServiceRegistrationEntry
ViewServiceRegistrationEntry is used by a view service to register its admin services interface.
-
Constructor Summary
ConstructorDescriptionDefault constructorViewServiceRegistrationEntry
(int viewServiceCode, ComponentDevelopmentStatus viewServiceDevelopmentStatus, String viewServiceName, String viewServiceFullName, String viewServiceURLMarker, String viewServiceDescription, String viewServiceWiki, String viewServicePartnerService, ServiceOperationalStatus viewServiceOperationalStatus, String viewServiceAdminClassName) Complete ConstructorViewServiceRegistrationEntry
(ViewServiceDescription viewServiceDescription, ServiceOperationalStatus viewServiceOperationalStatus, String viewServiceAdminClassName) Enum Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the class name of the admin class that should be called during initialization and termination.int
Return the code for this view serviceReturn the default description for the type for this view service.Return the development status of the component.Return the full name for this view service.Return the default name for this view service.Return the initial operational status for this view service.Return the full name of the service (typically Open Metadata Access Service (OMAS)) that this view service is partnered with.Return the string that appears in the REST API URL that identifies the owning service.Return the URL for the wiki page describing this view service.void
setServiceURLMarker
(String viewServiceURLMarker) Set up the string that appears in the REST API URL that identifies the owning service.void
setViewServiceAdminClassName
(String viewServiceAdminClassName) Set up the class name of the admin class that should be called during initialization and termination.void
setViewServiceCode
(int viewServiceCode) Set up the code for this view servicevoid
setViewServiceDescription
(String viewServiceDescription) Set up the default description for the type for this view service.void
setViewServiceDevelopmentStatus
(ComponentDevelopmentStatus viewServiceDevelopmentStatus) Set up the development status of the component.void
setViewServiceFullName
(String viewServiceFullName) Set up the full name for this view service.void
setViewServiceName
(String viewServiceName) Set up the default name for this view service.void
setViewServiceOperationalStatus
(ServiceOperationalStatus viewServiceOperationalStatus) Set up the initial operational status for this view service.void
setViewServicePartnerService
(String viewServicePartnerService) Set up the full name of the service (typically Open Metadata Access Service (OMAS)) that this view service is partnered with.void
setViewServiceWiki
(String viewServiceWiki) Set up the URL for the wiki page describing this view service.
-
Constructor Details
-
ViewServiceRegistrationEntry
public ViewServiceRegistrationEntry(int viewServiceCode, ComponentDevelopmentStatus viewServiceDevelopmentStatus, String viewServiceName, String viewServiceFullName, String viewServiceURLMarker, String viewServiceDescription, String viewServiceWiki, String viewServicePartnerService, ServiceOperationalStatus viewServiceOperationalStatus, String viewServiceAdminClassName) Complete Constructor- Parameters:
viewServiceCode
- ordinal for this view serviceviewServiceDevelopmentStatus
- development statusviewServiceName
- symbolic name for this view serviceviewServiceFullName
- full name for this view serviceviewServiceURLMarker
- name of the part of the URL that is the name of the view serviceviewServiceDescription
- short description for this view serviceviewServiceWiki
- wiki page for the view service for this view serviceviewServicePartnerService
- service that is calledviewServiceOperationalStatus
- default initial operational status for the view serviceviewServiceAdminClassName
- name of ViewServiceAdmin implementation class for the view service
-
ViewServiceRegistrationEntry
public ViewServiceRegistrationEntry(ViewServiceDescription viewServiceDescription, ServiceOperationalStatus viewServiceOperationalStatus, String viewServiceAdminClassName) Enum Constructor- Parameters:
viewServiceDescription
- enum for this view serviceviewServiceOperationalStatus
- default initial operational status for the view serviceviewServiceAdminClassName
- name of ViewServiceAdmin implementation class for the view service
-
ViewServiceRegistrationEntry
public ViewServiceRegistrationEntry()Default constructor
-
-
Method Details
-
getViewServiceCode
public int getViewServiceCode()Return the code for this view service- Returns:
- int type code
-
setViewServiceCode
public void setViewServiceCode(int viewServiceCode) Set up the code for this view service- Parameters:
viewServiceCode
- int type code
-
getViewServiceDevelopmentStatus
Return the development status of the component.- Returns:
- enum describing the status
-
setViewServiceDevelopmentStatus
public void setViewServiceDevelopmentStatus(ComponentDevelopmentStatus viewServiceDevelopmentStatus) Set up the development status of the component.- Parameters:
viewServiceDevelopmentStatus
- enum describing the status
-
getViewServiceName
Return the default name for this view service.- Returns:
- String default name
-
setViewServiceName
Set up the default name for this view service.- Parameters:
viewServiceName
- String default name
-
getViewServiceFullName
Return the full name for this view service.- Returns:
- String default name
-
setViewServiceFullName
Set up the full name for this view service.- Parameters:
viewServiceFullName
- String default name
-
getViewServiceURLMarker
Return the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.- Returns:
- String default name
-
setServiceURLMarker
Set up the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.- Parameters:
viewServiceURLMarker
- url fragment
-
getViewServiceDescription
Return the default description for the type for this view service.- Returns:
- String default description
-
setViewServiceDescription
Set up the default description for the type for this view service.- Parameters:
viewServiceDescription
- String default description
-
getViewServiceWiki
Return the URL for the wiki page describing this view service.- Returns:
- String URL name for the wiki page
-
setViewServiceWiki
Set up the URL for the wiki page describing this view service.- Parameters:
viewServiceWiki
- String URL name for the wiki page
-
getViewServicePartnerService
Return the full name of the service (typically Open Metadata Access Service (OMAS)) that this view service is partnered with.- Returns:
- Full name of OMAS
-
setViewServicePartnerService
Set up the full name of the service (typically Open Metadata Access Service (OMAS)) that this view service is partnered with.- Parameters:
viewServicePartnerService
- Full name of OMAS
-
getViewServiceOperationalStatus
Return the initial operational status for this view service.- Returns:
- ServiceOperationalStatus enum
-
setViewServiceOperationalStatus
Set up the initial operational status for this view service.- Parameters:
viewServiceOperationalStatus
- ServiceOperationalStatus enum
-
getViewServiceAdminClassName
Return the class name of the admin class that should be called during initialization and termination.- Returns:
- class name
-
setViewServiceAdminClassName
Set up the class name of the admin class that should be called during initialization and termination.- Parameters:
viewServiceAdminClassName
- class name
-