Class ConnectorTypeProperties
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.ConnectorTypeProperties
-
- All Implemented Interfaces:
Serializable
public class ConnectorTypeProperties extends AssetReferenceable
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.
- additionalProperties - Any additional properties that the connector provider needs to know in order to create connector instances.
- recognizedAdditionalProperties - List of property names recognised by this connector.
- recognizedConfigurationProperties - List of property names recognised by this connector.
- recognizedSecuredProperties - List of property names recognised by this connector.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ConnectorTypeconnectorTypeBean-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
referenceableBean
-
-
Constructor Summary
Constructors Constructor Description ConnectorTypeProperties(ConnectorType connectorTypeBean)Bean constructorConnectorTypeProperties(ConnectorTypeProperties templateConnectorType)Copy/clone constructor for a connectorType that is connected to an asset (either directly or indirectly).
-
Method Summary
All 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.protected ConnectorTypegetConnectorTypeBean()Return the bean - used in cloningStringgetDescription()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 propertiesStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetReferenceable
getAdditionalProperties, getQualifiedName, getReferenceableBean, setBean
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetElementHeader
getClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getOrigin, getStatus, getType, getURL, getVersions, setBean
-
-
-
-
Field Detail
-
connectorTypeBean
protected ConnectorType connectorTypeBean
-
-
Constructor Detail
-
ConnectorTypeProperties
public ConnectorTypeProperties(ConnectorType connectorTypeBean)
Bean constructor- Parameters:
connectorTypeBean- bean containing the properties
-
ConnectorTypeProperties
public ConnectorTypeProperties(ConnectorTypeProperties templateConnectorType)
Copy/clone constructor for a connectorType that is connected to an asset (either directly or indirectly).- Parameters:
templateConnectorType- template object to copy.
-
-
Method Detail
-
getConnectorTypeBean
protected ConnectorType getConnectorTypeBean()
Return the bean - used in cloning- Returns:
- ConnectorType bean
-
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
-
getDescription
public String getDescription()
Returns the stored description property for the connector type. If no description is available then null is returned.- Returns:
- description
-
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)
-
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
-
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
-
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 classAssetReferenceable- 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 classAssetReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classAssetReferenceable- Returns:
- int
-
-