1 2 package org.w3._2002._03.xkms_; 3 4 import java.util.ArrayList ; 5 import java.util.List ; 6 import javax.xml.bind.annotation.XmlAccessType; 7 import javax.xml.bind.annotation.XmlAccessorType; 8 import javax.xml.bind.annotation.XmlAttribute; 9 import javax.xml.bind.annotation.XmlElement; 10 import javax.xml.bind.annotation.XmlType; 11 12 13 35 @XmlAccessorType(XmlAccessType.FIELD) 36 @XmlType(name = "StatusType", propOrder = { 37 "validReason", 38 "indeterminateReason", 39 "invalidReason" 40 }) 41 public class StatusType { 42 43 @XmlElement(name = "ValidReason") 44 protected List <String > validReason; 45 @XmlElement(name = "IndeterminateReason") 46 protected List <String > indeterminateReason; 47 @XmlElement(name = "InvalidReason") 48 protected List <String > invalidReason; 49 @XmlAttribute(name = "StatusValue", required = true) 50 protected String statusValue; 51 52 74 public List <String > getValidReason() { 75 if (validReason == null) { 76 validReason = new ArrayList <String >(); 77 } 78 return this.validReason; 79 } 80 81 103 public List <String > getIndeterminateReason() { 104 if (indeterminateReason == null) { 105 indeterminateReason = new ArrayList <String >(); 106 } 107 return this.indeterminateReason; 108 } 109 110 132 public List <String > getInvalidReason() { 133 if (invalidReason == null) { 134 invalidReason = new ArrayList <String >(); 135 } 136 return this.invalidReason; 137 } 138 139 147 public String getStatusValue() { 148 return statusValue; 149 } 150 151 159 public void setStatusValue(String value) { 160 this.statusValue = value; 161 } 162 163 } 164 | Popular Tags |