C# Class gov.va.medora.mdo.SocSecNum

Contributions by Matt Schmidt (vhaindschmim0) and Robert Ruff (vhawpbruffr)
Afficher le fichier Open project: OSEHRA/mdo Class Usage Examples

Protected Properties

Свойство Type Description
myAreaNumber string
myGroupNumber string
mySerialNumber string

Méthodes publiques

Méthode Description
SocSecNum ( ) : System
SocSecNum ( bool sensitive ) : System

Use this constructor to create a SocSecNum object without an SSN string. Pass true as the argument and use the SocSecNum.SensitivityString accessor to obtain the sensitivity string

SocSecNum ( string value ) : System
ToString ( ) : string
isValid ( string value ) : bool
isValidAreaNumber ( string value ) : bool
isValidGroupNumber ( string value ) : bool
isValidSerialNumber ( string value ) : bool
isWellFormed ( string value ) : bool
isWellFormedAreaNumber ( string value ) : bool
isWellFormedGroupNumber ( string value ) : bool
isWellFormedSerialNumber ( string value ) : bool
stripField ( string value, int fldnum ) : string
toHyphenatedString ( ) : string
toString ( ) : string

Méthodes protégées

Méthode Description
setSSN ( string value ) : void

Private Methods

Méthode Description
setIfNumeric ( string s ) : string

Method Details

SocSecNum() public méthode

public SocSecNum ( ) : System
Résultat System

SocSecNum() public méthode

Use this constructor to create a SocSecNum object without an SSN string. Pass true as the argument and use the SocSecNum.SensitivityString accessor to obtain the sensitivity string
public SocSecNum ( bool sensitive ) : System
sensitive bool Pass true for sensitive SSNs
Résultat System

SocSecNum() public méthode

public SocSecNum ( string value ) : System
value string
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

isValid() public static méthode

public static isValid ( string value ) : bool
value string
Résultat bool

isValidAreaNumber() public static méthode

public static isValidAreaNumber ( string value ) : bool
value string
Résultat bool

isValidGroupNumber() public static méthode

public static isValidGroupNumber ( string value ) : bool
value string
Résultat bool

isValidSerialNumber() public static méthode

public static isValidSerialNumber ( string value ) : bool
value string
Résultat bool

isWellFormed() public static méthode

public static isWellFormed ( string value ) : bool
value string
Résultat bool

isWellFormedAreaNumber() public static méthode

public static isWellFormedAreaNumber ( string value ) : bool
value string
Résultat bool

isWellFormedGroupNumber() public static méthode

public static isWellFormedGroupNumber ( string value ) : bool
value string
Résultat bool

isWellFormedSerialNumber() public static méthode

public static isWellFormedSerialNumber ( string value ) : bool
value string
Résultat bool

setSSN() protected méthode

protected setSSN ( string value ) : void
value string
Résultat void

stripField() public static méthode

public static stripField ( string value, int fldnum ) : string
value string
fldnum int
Résultat string

toHyphenatedString() public méthode

public toHyphenatedString ( ) : string
Résultat string

toString() public méthode

public toString ( ) : string
Résultat string

Property Details

myAreaNumber protected_oe property

protected string myAreaNumber
Résultat string

myGroupNumber protected_oe property

protected string myGroupNumber
Résultat string

mySerialNumber protected_oe property

protected string mySerialNumber
Résultat string