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.
 
 
 package org.kuali.student.r2.common.dto;
 
 import java.util.List;
 
 
 //import org.w3c.dom.Element;
 
The DTO for an Attribute.

Author(s):
Kuali Student Services team
 
 
 @XmlType(name = "AttributeInfo", propOrder = {
                 "id""key""value" , "_futureElements" }) 
 
 public final class AttributeInfo 
     implements AttributeSerializable {
 
     private static final long serialVersionUID = 1L;
     
     @XmlElement
     private String id;
     
     @XmlElement
     private String key;
     
     @XmlElement
     private String value;
 
     
     @XmlAnyElement
     private List<Object_futureElements;


    
Constructs a new AttributeInfo.
 
     public AttributeInfo() {
     }

    
Constructs a new AttributeInfo from another Attribute.

Parameters:
attribute the attribute to copy
 
     public AttributeInfo(Attribute attribute) {
         if (attribute != null) {
             this. = attribute.getId();
             this. = attribute.getKey();
             this. = attribute.getValue();
         }
     }
 
     public AttributeInfo(String keyString value) {
 		super();
 		this. = key;
 		this. = value;
 	}
 
     public String getId() {
         return ;
     }
 
     public void setId(String id) {
         this. = id;
     }
 
     @Override
     public String getKey() {
         return ;
     }
     
     public void setKey(String key) {
        this. = key;
    }
    @Override
    public String getValue() {
        return ;
    }
    
    public void setValue(String value) {
        this. = value;
    }
    
New to GrepCode? Check out our FAQ X