Enum RetentionBasis

    • Enum Constant Detail

      • Unclassified

        public static final RetentionBasis Unclassified
        There is no assessment of the retention requirements for this data.
      • Temporary

        public static final RetentionBasis Temporary
        This data is temporary.
      • ProjectLifetime

        public static final RetentionBasis ProjectLifetime
        The data is needed for the lifetime of the referenced project.
      • TeamLifetime

        public static final RetentionBasis TeamLifetime
        The data is needed for the lifetime of the referenced team.
      • ContractLifetime

        public static final RetentionBasis ContractLifetime
        The data is needed for the lifetime of the referenced contract.
      • RegulatedLifetime

        public static final RetentionBasis RegulatedLifetime
        The retention period for the data is defined by the referenced regulation.
      • TimeBoxedLifetime

        public static final RetentionBasis TimeBoxedLifetime
        The data is needed for the specified time.
      • Other

        public static final RetentionBasis Other
        Another basis for determining the retention requirement.
    • Method Detail

      • values

        public static RetentionBasis[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RetentionBasis c : RetentionBasis.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RetentionBasis valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getOrdinal

        public int getOrdinal()
        Return the numerical value for the enum.
        Returns:
        int enum value ordinal
      • getDescription

        public String getDescription()
        Return the description for the enum.
        Returns:
        String description
      • getName

        public String getName()
        Return the descriptive name for the RetentionBasis enum instance
        Returns:
        String name