1 6 package com.nightlabs.ipanema.person; 7 8 11 21 public class TextPersonDataField extends AbstractPersonDataField { 22 23 26 public TextPersonDataField() { 27 super(); 28 } 29 33 public TextPersonDataField(PersonDataBlock _personDataBlock, 34 AbstractPersonStructField _personStructField) { 35 super(_personDataBlock, _personStructField); 36 } 37 40 protected String text; 41 42 46 public String getText() { 47 return text; 48 } 49 53 public void setText(String text) { 54 this.text = text; 55 } 56 59 public boolean isEmpty() { 60 if (getText() == null) 61 return true; 62 return getText().equals(""); 63 } 64 67 public String localizedToString(String languageID) { 68 return getText(); 69 } 70 } 71 | Popular Tags |