org.kuali.kfs.module.cab.service.impl
Enum CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode

java.lang.Object
  extended by java.lang.Enum<CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode>
      extended by org.kuali.kfs.module.cab.service.impl.CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode
All Implemented Interfaces:
Serializable, Comparable<CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode>
Enclosing class:
CapitalAssetBuilderModuleServiceImpl

protected static enum CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode
extends Enum<CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode>


Enum Constant Summary
BOTH_CAPITAL
           
BOTH_NONCAP
           
FROM_CAPITAL_TO_NONCAP
           
FROM_NONCAP_TO_CAPITAL
           
 
Method Summary
protected static boolean validateAssetInfoEntered(boolean isNewAssetBlank, boolean isUpdateAssetBlank)
          Validate Asset Information is not blank.
protected static boolean validateOnlyOneAssetInfoEntered(boolean isNewAssetBlank, boolean isUpdateAssetBlank)
          Validate only either one asset information entered.
static CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOTH_NONCAP

public static final CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode BOTH_NONCAP

FROM_CAPITAL_TO_NONCAP

public static final CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode FROM_CAPITAL_TO_NONCAP

FROM_NONCAP_TO_CAPITAL

public static final CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode FROM_NONCAP_TO_CAPITAL

BOTH_CAPITAL

public static final CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode BOTH_CAPITAL
Method Detail

values

public static CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode[] 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 (CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode c : CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CapitalAssetBuilderModuleServiceImpl.AccountCapitalObjectCode 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

validateAssetInfoEntered

protected static boolean validateAssetInfoEntered(boolean isNewAssetBlank,
                                                  boolean isUpdateAssetBlank)
Validate Asset Information is not blank.

Parameters:
isNewAssetBlank -
isUpdateAssetBlank -
Returns:

validateOnlyOneAssetInfoEntered

protected static boolean validateOnlyOneAssetInfoEntered(boolean isNewAssetBlank,
                                                         boolean isUpdateAssetBlank)
Validate only either one asset information entered.

Parameters:
isNewAssetBlank -
isUpdateAssetBlank -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.