private void validateAlias(WwnAliasParam alias,boolean forAdd){
  if (forAdd || !StringUtils.isEmpty(alias.getAddress())) {
    validateWWN(alias.getAddress());
  }
  validateWWNAlias(alias.getName());
}

private void validateAlias ( WwnAliasParam alias , boolean forAdd ) { if ( forAdd || ! StringUtils . isEmpty ( alias . getAddress ( ) ) ) { validateWWN ( alias . getAddress ( ) ) ; } validateWWNAlias ( alias . getName ( ) ) ; }
throw exception if alias is invalid
