
com.github.devnied.emvnfccard.parser.apdu.annotation.Data Maven / Gradle / Ivy
package com.github.devnied.emvnfccard.parser.apdu.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import fr.devnied.bitlib.BitUtils;
/**
* Annotation to describe field information
*
* @author MILLAU Julien
*
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Data {
/**
* Format date
*/
String format() default BitUtils.DATE_FORMAT;
/**
* The current date standard
*/
int dateStandard() default 0;
/**
* index of data
*/
int index();
/**
* Read the string in hexa
*/
boolean readHexa() default false;
/**
* Number of bytes
*/
int size();
/**
* Tag Name
*/
String tag();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy