Created
October 3, 2013 19:42
-
-
Save altfatterz/6815876 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@XmlAccessorType(XmlAccessType.FIELD) | |
public class WidgetResourceRef { | |
@XmlAttribute | |
private String type; | |
@XmlAttribute | |
private String src; | |
/** Default constructor, needed for JAXB framework */ | |
public WidgetResourceRef() { | |
} | |
public WidgetResourceRef(String type, String src) { | |
this.type = type; | |
this.src = src; | |
} | |
public String getType() { | |
return type; | |
} | |
public String getSrc() { | |
return src; | |
} | |
public void setType(String type) { | |
this.type = type; | |
} | |
public void setSrc(String src) { | |
this.src = src; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment