<commit_before>/*
 * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
 *
 * Copyright (c) 2014, Gluu
 */

package org.gluu.persist.annotation;

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

/**
 * LDAP Attributes List
 *
 * @author <NAME> Date: 10.07.2010
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface @AttributesList {

    /**
     * (Required) The class property name which contains LDAP attribute name.
     */
    String name();

    /**
     * (Required) The class property name which contains LDAP attribute value.
     */
    String value();

    /**
     * (Optional) Holds additional configuration for LDAP attributes. Defaults
     * value not provides additional configuration.
     */
    Attribute[] attributesConfiguration() default {};

    /**
     * (Optional) Specify if attributes should be sorted by property name value.
     */
    boolean sortByName() default false;

}<commit_msg>Persistence annotations should be DB neutral<commit_after>/*
 * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
 *
 * Copyright (c) 2014, Gluu
 */

package org.gluu.persist.annotation;

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

/**
 * LDAP Attributes List
 *
 * @author <NAME> Date: 10.07.2010
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface AttributesList {

    /**
     * (Required) The class property name which contains LDAP attribute name.
     */
    String name();

    /**
     * (Required) The class property name which contains LDAP attribute value.
     */
    String value();

    /**
     * (Optional) Holds additional configuration for LDAP attributes. Defaults
     * value not provides additional configuration.
     */
    Attribute[] attributesConfiguration() default {};

    /**
     * (Optional) Specify if attributes should be sorted by property name value.
     */
    boolean sortByName() default false;

}
{'fraction_non_alphanumeric': 0.10988526037069726, 'fraction_numerical': 0.01412180052956752, 'mean_word_length': 3.3596153846153847, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3527148', 'n_tokens_mistral': 640, 'n_tokens_neox': 605, 'n_words': 197}