Rev 49 | Rev 1061 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/****/package in.shop2020.metamodel.definitions;import in.shop2020.metamodel.util.MetaModelComponent;/*** Represents individual valid value in the enumerated list* @author naveen**/public class EnumValue extends MetaModelComponent {/****/private static final long serialVersionUID = 1L;/*** Unique identifier*/private long id;/*** One value from the enumerated list*/private String value;/**** @param id* @param value*/public EnumValue(long id, String value) {this.id = id;this.value = value;}/*** @param id the id to set*/public void setID(long id) {this.id = id;}/*** @return the id*/public long getID() {return id;}/*** @param value the value to set*/public void setValue(String value) {this.value = value;}/*** @return the value*/public String getValue() {return value;}/* (non-Javadoc)* @see java.lang.Object#toString()*/@Overridepublic String toString() {return "EnumValue [id=" + id + ", value=" + value + "]";}}