View Javadoc
1 package org.smartcomps.twister.engine.priv.core.definition.impl; 2 3 import org.smartcomps.twister.engine.priv.core.definition.Property; 4 import org.smartcomps.twister.engine.priv.core.definition.PropertyAlias; 5 6 /*** 7 * Persistent implementation of the Property interface. 8 * @see org.smartcomps.twister.engine.priv.core.definition.Property 9 * @hibernate.class table="PROPERTY" 10 */ 11 public class PropertyImpl implements Property { 12 13 private Long id; 14 private String name; 15 private String type; 16 17 private PropertyAliasImpl alias; 18 19 /*** 20 * @hibernate.id generator-class="native" type="long" 21 */ 22 public Long getId() { 23 return id; 24 } 25 26 public void setId(Long id) { 27 this.id = id; 28 } 29 30 /*** 31 * @hibernate.property length="50" not-null="true" 32 */ 33 public String getName() { 34 return name; 35 } 36 37 public void setName(String name) { 38 this.name = name; 39 } 40 41 /*** 42 * @hibernate.property length="200" not-null="true" 43 */ 44 public String getType() { 45 return type; 46 } 47 48 public void setType(String type) { 49 this.type = type; 50 } 51 52 public PropertyAlias getAlias() { 53 return alias; 54 } 55 56 public void setAlias(PropertyAlias alias) { 57 this.alias = (PropertyAliasImpl) alias; 58 } 59 }

This page was automatically generated by Maven