View Javadoc

1   package de.campussource.cse.cdmm.domain;
2   
3   import javax.xml.bind.annotation.XmlTransient;
4   
5   /**
6    * Representation of an attribute object, which should not be saved persistent
7    * @author Sebastian Roekens
8    *
9    */
10  @XmlTransient
11  public class TransientAttribute extends Attribute {
12  	public TransientAttribute(){}
13  	
14  	public TransientAttribute(String name, String value){
15  		setName(name);
16  		setValue(value);
17  		setTransient(true);
18  	}
19  }