edu.vt.middleware.registry.manage.person
Class Validator

java.lang.Object
  extended by edu.vt.middleware.registry.manage.person.Validator

public final class Validator
extends Object

Validator provides validation methods for the person manager.

Version:
$Revision: 7145 $
Author:
Daniel Fisher

Constructor Summary
private Validator()
          Default private constructor.
 
Method Summary
static boolean isValidBannerPidm(String pidm)
          This returns whether the supplied Banner PIDM is valid.
static boolean isValidInstantMessagingId(String id)
          This returns whether the supplied instant messaging id is valid.
static boolean isValidLabeledUri(String labeledUri)
          This returns whether the supplied labeled uri is valid.
static boolean isValidSsn(String ssn)
          This returns whether the supplied SSN is valid.
static boolean isValidVtId(String vtid)
          This returns whether the supplied VT ID Number is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validator

private Validator()
Default private constructor.

Method Detail

isValidSsn

public static boolean isValidSsn(String ssn)
This returns whether the supplied SSN is valid.

Parameters:
ssn - String to verify
Returns:
boolean whether the supplied SSN is valid

isValidBannerPidm

public static boolean isValidBannerPidm(String pidm)
This returns whether the supplied Banner PIDM is valid.

Parameters:
pidm - String to verify
Returns:
boolean whether the supplied PIDM is valid

isValidVtId

public static boolean isValidVtId(String vtid)
This returns whether the supplied VT ID Number is valid.

Parameters:
vtid - String to verify
Returns:
boolean whether the supplied VT ID is valid

isValidLabeledUri

public static boolean isValidLabeledUri(String labeledUri)
This returns whether the supplied labeled uri is valid.

Parameters:
labeledUri - String to verify
Returns:
boolean whether the supplied labeled uri is valid

isValidInstantMessagingId

public static boolean isValidInstantMessagingId(String id)
This returns whether the supplied instant messaging id is valid.

Parameters:
id - String to verify
Returns:
boolean whether the supplied id is valid


Copyright © 2008 Virginia Tech. All Rights Reserved.