public < T > T getValue ( Class < T > type ) { if ( ! this . type . isAssignableFrom ( type ) ) { throw new UnexpectedLiquibaseException ( "Property " + name + " on is of type " + this . type . getSimpleName ( ) + ", not " + type . getSimpleName ( ) ) ; } return ( T ) value ; }
Returns the value currently stored in this property cast to the given type .