Enum TransferTypeDirection

    • Method Detail

      • values

        public static TransferTypeDirection[] 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 (TransferTypeDirection c : TransferTypeDirection.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TransferTypeDirection 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
      • getSystemDirections

        public static List<TransferTypeDirection> getSystemDirections​(Boolean isFrom)
        Returns a list with the directions involving system accounts.
        Parameters:
        isFrom - if true then return all FROM system directions, false means all TO system directions. Otherwise (null) returns all (from or to) system directions
      • isFromSystem

        public boolean isFromSystem()
      • isFromUser

        public boolean isFromUser()
      • isToSystem

        public boolean isToSystem()
      • isToUser

        public boolean isToUser()