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.Map;
 

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 name="dataType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="minLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="validChars" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="invalidChars" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="minOccurs" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="maxOccurs" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element ref="{http://www.dto.dictionary.student.kuali.org}enum" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 //@XmlAccessorType(XmlAccessType.FIELD)
 //@XmlType(name = "", propOrder = {
 //    "name",
 //    "desc",
 //	"dataType",
 //	"minValue",
 //	"maxValue",
 //    "minLength",
 //    "maxLength",
 //    "validChars",
 //    "invalidChars",
 //    "readOnly",
 //    "_enum"
 //})
 public class FieldDescriptor implements Serializable {
 
     private static final long serialVersionUID = 1L;
     
     @XmlAttribute
     protected String id;
     
     @XmlElement(required = true)
     protected String name;
     
     @XmlElement(required = true)
     protected String desc;
     
     @XmlElement
     protected boolean readOnly;
     
     @XmlElement(required = true)
     protected String dataType;
 
     @XmlElement
     protected SearchSelector search;
     
    @XmlElement
    protected ObjectStructure objectStructure;
    
    @XmlElement
    protected String objectStructureRef;
    
    
    
Gets the value of the dataType property.

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

    
Sets the value of the dataType property.

Parameters:
value allowed object is
    public void setDataType(String value) {
        this. = value;
    }
       
    

Returns:
the name
	public String getName() {
		return ;
	}

Parameters:
name the name to set
	public void setName(String name) {
		this. = name;
	}

Returns:
the desc
	public String getDesc() {
		return ;
	}

Parameters:
desc the desc to set
	public void setDesc(String desc) {
		this. = desc;
	}

Returns:
the readOnly
	public boolean isReadOnly() {
		return ;
	}

Parameters:
readOnly the readOnly to set
	public void setReadOnly(boolean readOnly) {
		this. = readOnly;
	}

Returns:
the search
		return ;
	}

Parameters:
search the search to set
	public void setSearch(SearchSelector search) {
		this. = search;
	}

Returns:
the id
	public String getId() {
		return ;
	}

Parameters:
id the id to set
	public void setId(String id) {
		this. = id;
	}

Returns:
the objectStructure
	}

Parameters:
objectStructure the objectStructure to set
	public void setObjectStructure(ObjectStructure objectStructure) {
		this. = objectStructure;
	}

Returns:
the objectStructureRef
	}

Parameters:
objectStructureRef the objectStructureRef to set
	public void setObjectStructureRef(String objectStructureRef) {
		this. = objectStructureRef;
	}
	public Map<StringObjecttoMap(){
    	Map<StringObjectfieldDescMap = new HashMap<StringObject>();
    	fieldDescMap.put("dataType");
    	return fieldDescMap;
    }
New to GrepCode? Check out our FAQ X