Android Open Source - RKFRead R K F Object






From Project

Back to project page RKFRead.

License

The source code is released under:

GNU General Public License

If you think the Android project RKFRead listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * Copyright 2014 Henning Norn/* w ww  .j  a v a2  s .  c o m*/
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package se.norenh.rkfread;

public class RKFObject {
    public enum RKFType {
  AID,
  Amount,
  CurrencyUnit,
  Date,
  DateTime,
  Long,
  RelTime,
  PassSubGroup,
  Status,
  Time,
  TCDIAID,
  ValidationModel,
  ValidationStatus
    }

    private final RKFType type;
    private final long value;
    public RKFObject next;

    public RKFObject(long l, RKFType t, RKFObject o) {
  value = l;
  type = t;
  next = o;
    }

    public RKFObject(long l, RKFType t) {
  value = l;
  type = t;
  next = null;
    }

    public RKFObject(long l, RKFObject o) {
  value = l;
  type = RKFType.Long;
  next = o;
    }

    public RKFObject(long l) {
  value = l;
  type = RKFType.Long;
  next = null;
    }

    public RKFType getType() { return type; }
    public long getValue() { return value; }
    public boolean hasMore() { return (null != next); }
    public RKFObject getNext() { return next; }
}




Java Source Code List

se.norenh.rkfread.DisplayMessage.java
se.norenh.rkfread.RKFCard.java
se.norenh.rkfread.RKFObject.java
se.norenh.rkfread.RKFRead.java