コード例 #1
0
 public String getAddressText() {
   ClaimantAddress address = claimant.getMailingAddress();
   if (address != null) {
     return address.getAddressAsString("<br/>");
   }
   return null;
 }
コード例 #2
0
 /**
  * Prepares {@Link ClaimantClaim} Details based on below scenarios. case 1: If the Claim was
  * Submitted via Web Self Service it fills the Claimant Claim information. case 2: If the Claim
  * Form was submitted by mail without the Claim Member registering in Web Self Service. In this
  * case, it creates a new Claim details. case 3: If the Class Member opted to Print a personalized
  * Claim Form in WSS and mail it in, then it will look the most recent(largest controlNumber)
  * claimIdentifier and controlNumber in {@link ClaimantClaimId}.
  *
  * @param claimantId
  */
 public void prepareViewModel(Long claimantId) {
   claimant = Claimant.findClaimant(claimantId, Claimant.ASSOCIATION_ALL);
   claimantClaim = claimService.getClaimantClaim(claimantId);
 }