com.melloware.jukes.gui.view.validation
Class ArtistValidator

java.lang.Object
  extended by com.melloware.jukes.gui.view.validation.ArtistValidator
All Implemented Interfaces:
com.jgoodies.validation.Validator

public final class ArtistValidator
extends java.lang.Object
implements com.jgoodies.validation.Validator

Validates Artists.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Constructor Summary
ArtistValidator(Artist artist)
          Constructs a ArtistValidator on the given Artist.
 
Method Summary
 com.jgoodies.validation.ValidationResult validate()
          Validates this Validator's Artist and returns the result as an instance of ValidationResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtistValidator

public ArtistValidator(Artist artist)
Constructs a ArtistValidator on the given Artist.

Parameters:
artist - the artist to be validated
Method Detail

validate

public com.jgoodies.validation.ValidationResult validate()
Validates this Validator's Artist and returns the result as an instance of ValidationResult.

Specified by:
validate in interface com.jgoodies.validation.Validator
Returns:
the ValidationResult of the artist validation


Copyright © 1999-2008 Melloware Inc. All Rights Reserved.