Class ConnectorTypeProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.ConnectorTypeProperties
-
- All Implemented Interfaces:
Serializable
public class ConnectorTypeProperties extends ReferenceableProperties
The ConnectorType describe the implementation details of a particular type of OCF connector. The properties for a connector type are defined in model 0201. They include:- guid - Globally unique identifier for the connector type.
- url - External link address for the connector type properties in the metadata repository. This URL can be stored as a property in another entity to create an explicit link to this connector type.
- qualifiedName - The official (unique) name for the connector type. This is often defined by the IT systems management organization and should be used (when available) on audit logs and error messages.
- displayName - A consumable name for the connector type. Often a shortened form of the qualifiedName for use on user interfaces and messages. The displayName should be only be used for audit logs and error messages if the qualifiedName is not set.
- description - A full description of the connector type covering details of the assets it connects to along with usage and versioning information.
- connectorProviderClassName - The connector provider is the factory for a particular type of connector. This property defines the class name for the connector provider that the Connector Broker should use to request new connector instances.
- recognizedAdditionalProperties - these are the Connection additional properties recognized by the connector implementation
- recognizedConfigurationProperties - these are the Connection configuration properties recognized by the connector implementation
- recognizedSecuredProperties - these are the Connection secured properties recognized by the connector implementation
- additionalProperties - Any additional properties that the connector provider needs to know in order to create connector instances.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringconnectorProviderClassNameprotected Stringdescriptionprotected StringdisplayNameprotected List<String>recognizedAdditionalPropertiesprotected List<String>recognizedConfigurationPropertiesprotected List<String>recognizedSecuredProperties
-
Constructor Summary
Constructors Constructor Description ConnectorTypeProperties()Default constructorConnectorTypeProperties(ConnectorTypeProperties template)Copy/clone constructor for a connectorType that is not connected to an asset (either directly or indirectly).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetConnectorProviderClassName()Returns the stored connectorProviderClassName property for the connector type.static ElementTypegetConnectorTypeType()Return the standard type for a connector type.StringgetDescription()Returns the stored description property for the connector type.StringgetDisplayName()Returns the stored display name property for the connector type.List<String>getRecognizedAdditionalProperties()Return the list of property names that this connector/connector provider implementation looks for in the Connection object's additionalProperties.List<String>getRecognizedConfigurationProperties()Return the list of property names that this connector/connector provider implementation looks for in the Connection object's configurationProperties.List<String>getRecognizedSecuredProperties()Return the list of property names that this connector/connector provider implementation looks for in the Connection object's securedProperties.inthashCode()Hash of propertiesvoidsetConnectorProviderClassName(String connectorProviderClassName)The name of the connector provider class name.voidsetDescription(String description)Set up description of the element.voidsetDisplayName(String displayName)Set up the display name for UIs and reports.voidsetRecognizedAdditionalProperties(List<String> recognizedAdditionalProperties)Set up the list of property names that this connector/connector provider implementation looks for in the Connection object's additionalProperties.voidsetRecognizedConfigurationProperties(List<String> recognizedConfigurationProperties)Set up the list of property names that this connector/connector provider implementation looks for in the Connection object's configurationProperties.voidsetRecognizedSecuredProperties(List<String> recognizedSecuredProperties)Set up the list of property names that this connector/connector provider implementation looks for in the Connection object's securedProperties.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
ConnectorTypeProperties
public ConnectorTypeProperties()
Default constructor
-
ConnectorTypeProperties
public ConnectorTypeProperties(ConnectorTypeProperties template)
Copy/clone constructor for a connectorType that is not connected to an asset (either directly or indirectly).- Parameters:
template- template object to copy.
-
-
Method Detail
-
getConnectorTypeType
public static ElementType getConnectorTypeType()
Return the standard type for a connector type.- Returns:
- ElementType object
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name for UIs and reports.- Parameters:
displayName- String name
-
getDisplayName
public String getDisplayName()
Returns the stored display name property for the connector type. If no display name is available then null is returned.- Returns:
- displayName
-
setDescription
public void setDescription(String description)
Set up description of the element.- Parameters:
description- String
-
getDescription
public String getDescription()
Returns the stored description property for the connector type. If no description is available then null is returned.- Returns:
- description
-
setConnectorProviderClassName
public void setConnectorProviderClassName(String connectorProviderClassName)
The name of the connector provider class name.- Parameters:
connectorProviderClassName- String class name
-
getConnectorProviderClassName
public String getConnectorProviderClassName()
Returns the stored connectorProviderClassName property for the connector type. If no connectorProviderClassName is available then null is returned.- Returns:
- connectorProviderClassName class name (including package name)
-
setRecognizedAdditionalProperties
public void setRecognizedAdditionalProperties(List<String> recognizedAdditionalProperties)
Set up the list of property names that this connector/connector provider implementation looks for in the Connection object's additionalProperties.- Parameters:
recognizedAdditionalProperties- list of property names
-
getRecognizedAdditionalProperties
public List<String> getRecognizedAdditionalProperties()
Return the list of property names that this connector/connector provider implementation looks for in the Connection object's additionalProperties.- Returns:
- list of property names
-
setRecognizedConfigurationProperties
public void setRecognizedConfigurationProperties(List<String> recognizedConfigurationProperties)
Set up the list of property names that this connector/connector provider implementation looks for in the Connection object's configurationProperties.- Parameters:
recognizedConfigurationProperties- list of property names
-
getRecognizedConfigurationProperties
public List<String> getRecognizedConfigurationProperties()
Return the list of property names that this connector/connector provider implementation looks for in the Connection object's configurationProperties.- Returns:
- list of property names
-
setRecognizedSecuredProperties
public void setRecognizedSecuredProperties(List<String> recognizedSecuredProperties)
Set up the list of property names that this connector/connector provider implementation looks for in the Connection object's securedProperties.- Parameters:
recognizedSecuredProperties- list of property names
-
getRecognizedSecuredProperties
public List<String> getRecognizedSecuredProperties()
Return the list of property names that this connector/connector provider implementation looks for in the Connection object's securedProperties.- Returns:
- list of property names
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-
-