Class ConnStringValueTypePair


  • public final class ConnStringValueTypePair
    extends Object
    Database connection string value to type pair.
    • Constructor Detail

      • ConnStringValueTypePair

        public ConnStringValueTypePair()
    • Method Detail

      • value

        public String value()
        Get the value property: Value of pair.
        Returns:
        the value value.
      • withValue

        public ConnStringValueTypePair withValue​(String value)
        Set the value property: Value of pair.
        Parameters:
        value - the value value to set.
        Returns:
        the ConnStringValueTypePair object itself.
      • type

        public ConnectionStringType type()
        Get the type property: Type of database.
        Returns:
        the type value.
      • withType

        public ConnStringValueTypePair withType​(ConnectionStringType type)
        Set the type property: Type of database.
        Parameters:
        type - the type value to set.
        Returns:
        the ConnStringValueTypePair object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.