Code example for IdentifierValue

0
		else if ( "none".equals( unsavedValue ) ) {
			return IdentifierValue.NONE;
		} 
		else if ( "any".equals( unsavedValue ) ) {
			return IdentifierValue.ANY;
		} 
		else { 
			try { 
				return new IdentifierValue( ( Serializable ) ( ( IdentifierType ) identifierType ).stringToObject( unsavedValue ) );
			} 
			catch ( ClassCastException cce ) {
				throw new MappingException( "Bad identifier type: " + identifierType.getName() );
			} 
			catch ( Exception e ) {
				throw new MappingException( "Could not parse identifier unsaved-value: " + unsavedValue );
			} 
		} 
	} 
 
	public static VersionValue getUnsavedVersionValue(
Connect your IDE to all the code out there  Get Codota for Java