1 22 package org.jboss.resource.metadata; 23 24 30 public class LicenseMetaData extends DescriptionMetaDataContainer 31 { 32 private static final long serialVersionUID = -1583292998139497934L; 33 34 35 private boolean required = false; 36 37 42 public boolean getRequired() 43 { 44 return required; 45 } 46 47 52 public void setRequired(boolean required) 53 { 54 this.required = required; 55 } 56 57 public String toString() 58 { 59 StringBuffer buffer = new StringBuffer (); 60 buffer.append("LicenseMetaData").append('@'); 61 buffer.append(Integer.toHexString(System.identityHashCode(this))); 62 buffer.append("[required=").append(required); 63 buffer.append(" descriptions=").append(getDescriptions()); 64 buffer.append(']'); 65 return buffer.toString(); 66 } 67 } 68 | Popular Tags |