Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2010 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 
 //
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 // Generated on: 2008.10.21 at 02:14:18 PM PDT 
 //
 
 
 package org.kuali.student.r1.common.dictionary.old.dto;
 
 import java.util.List;
 

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.dto.dictionary.student.kuali.org}field" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 public class State implements Serializable{
     
     private static final long serialVersionUID = 1L;
 
     @XmlElement(required = true)
     protected List<Fieldfield;
 
     @XmlAttribute
     protected String id;
     
     @XmlAttribute(required = true)
     protected String key;
 
     @XmlElement
     protected ConstraintDescriptor constraintDescriptor;
    
    
Gets the value of the field property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the field property.

For example, to add a new item, do as follows:

    getField().add(newItem);
 

Objects of the following type(s) are allowed in the list

 
     public List<FieldgetField() {
         if ( == null) {
              = new ArrayList<Field>();
         }
        return this.;
    }

    
Gets the value of the key property.

Returns:
possible object is
    public String getKey() {
        return ;
    }

    
Sets the value of the key property.

Parameters:
value allowed object is
    public void setKey(String value) {
        this. = value;
    }
	public void setField(List<Fieldfield) {
		this. = field;
	}

Returns:
the constraintDescriptor
	}

Parameters:
constraintDescriptor the constraintDescriptor to set
	public void setConstraintDescriptor(ConstraintDescriptor constraintDescriptor) {
		this. = constraintDescriptor;
	}	
New to GrepCode? Check out our FAQ X