All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.aries.pojo.AttributeName Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
/*
 * Copyright (c) 2020-2021 - for information on the respective copyright owner
 * see the NOTICE file and/or the repository at
 * https://github.com/hyperledger-labs/acapy-java-client
 *
 * SPDX-License-Identifier: Apache-2.0
 */
package org.hyperledger.aries.pojo;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Used to influence field handling in POJOs
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface AttributeName {

    /**
     * @return the desired name of the field
     */
    String value() default "";

    /**
     * @return if the field is excluded from processing
     */
    boolean excluded() default false;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy