1 19 20 package org.jahia.data.containers; 21 22 import java.io.Serializable ; 23 24 25 26 31 32 public class ContainerEditViewField implements Serializable { 33 34 private static final String CLASS_NAME = ContainerEditViewField.class.getName(); 35 36 private String name; 37 private String descr = ""; 38 39 40 46 public ContainerEditViewField(String name) 47 { 48 if ( name != null || !name.trim().equals("") ){ 49 this.name = name; 50 } 51 } 52 53 60 public ContainerEditViewField(String name, String descr) 61 { 62 if ( name != null || !name.trim().equals("") ){ 63 this.name = name; 64 } 65 if ( descr != null ){ 66 this.descr = descr; 67 } 68 } 69 70 75 public String getName(){ 76 return this.name; 77 } 78 79 84 public String getDescr(){ 85 return this.descr; 86 } 87 88 } 89 | Popular Tags |