public ome.model.roi.Label newInstance() { return new ome.model.roi.Label(); }
public void setX(java.lang.Double x) { if (! _loaded ) errorIfUnloaded(); this.x = (java.lang.Double) x; } protected java.lang.Double y = null;
@Override public Object retrieve(String field) { if (field == null) { return null; } else if (field.equals(X)) { return getX(); } else if (field.equals(Y)) { return getY(); } else if (field.equals(TEXTVALUE)) { return getTextValue(); } else { return super.retrieve(field); } }
@Override public void putAt(String field, Object value) { if (field == null) { return; } else if (field.equals(X)) { setX((java.lang.Double)value); } else if (field.equals(Y)) { setY((java.lang.Double)value); } else if (field.equals(TEXTVALUE)) { setTextValue((java.lang.String)value); } else { super.putAt(field,value); } }
@Override public boolean acceptFilter(ome.util.Filter __filter){ try { this.x = (java.lang.Double) __filter.filter(X, this.x ); this.y = (java.lang.Double) __filter.filter(Y, this.y ); this.textValue = (java.lang.String) __filter.filter(TEXTVALUE, this.textValue ); return super.acceptFilter(__filter); } catch (RuntimeException re) { // ticket:1183 - Caused by Utils.trueClass(Annotation.class) if (re.getCause() instanceof InstantiationException) { this.unload(); return true; } else { throw re; } } }
public void setY(java.lang.Double y) { if (! _loaded ) errorIfUnloaded(); this.y = (java.lang.Double) y; } protected java.lang.String textValue = null;
public ome.model.roi.Label proxy() { return new ome.model.roi.Label(this.id, false); }
public void setTextValue(java.lang.String textValue) { if (! _loaded ) errorIfUnloaded(); this.textValue = (java.lang.String) textValue; }
/** * Simple field ome.model.roi.Label.x (java.lang.Double) */ // No @Type annotation @org.hibernate.search.annotations.Fields({ @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.UN_TOKENIZED), @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.UN_TOKENIZED, name="combined_fields") }) @javax.persistence.Column(columnDefinition="", nullable=true, unique=false, name="x", updatable=true) public java.lang.Double getX() { if (! _loaded ) errorIfUnloaded(); return this.x; }
/** * Simple field ome.model.roi.Label.y (java.lang.Double) */ // No @Type annotation @org.hibernate.search.annotations.Fields({ @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.UN_TOKENIZED), @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.UN_TOKENIZED, name="combined_fields") }) @javax.persistence.Column(columnDefinition="", nullable=true, unique=false, name="y", updatable=true) public java.lang.Double getY() { if (! _loaded ) errorIfUnloaded(); return this.y; }
/** * Simple field ome.model.roi.Label.textValue (java.lang.String) */ @org.hibernate.annotations.Type(type="org.hibernate.type.TextType") @org.hibernate.search.annotations.Fields({ @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.TOKENIZED), @org.hibernate.search.annotations.Field(index = org.hibernate.search.annotations.Index.TOKENIZED, name="combined_fields") }) @javax.persistence.Column(columnDefinition="", nullable=true, unique=false, name="textValue", updatable=true) public java.lang.String getTextValue() { if (! _loaded ) errorIfUnloaded(); return this.textValue; }