Code example for Member

Methods: getName

0
        now.add(Calendar.DATE, _sequenceNumber - 1);
        return now.getTime();
    } 
     
    protected String GetString(Member member) {
        return member.getName() + _sequenceNumber;
    } 
 
    protected boolean GetBoolean(Member member) {
        return (_sequenceNumber % 2) == 0 ? true : false;
    } 
 
    protected Enum GetEnum(Member member) {
         
        Class enumClass = member.getClass();
        if (enumClass.isEnum()) {
            Enum[] enumValues = GetEnumValues(enumClass);
            int newSequenceNumber = GetNewSequenceNumber(_sequenceNumber, enumValues.length);
            return enumValues[newSequenceNumber];
        }