/** * Use the {@link ome.model.internal.Details#copy(ome.model.internal.Details)} * or {@link ome.model.internal.Details#shallowCopy(ome.model.internal.Details)} * methods to set the {@link Details} instance instead. */ protected void setDetails(ome.model.internal.Details details) { if (! _loaded ) errorIfUnloaded(); this.details = (Details) details; }
public void setLocked(java.lang.Boolean locked) { if (! _loaded ) errorIfUnloaded(); this.locked = (java.lang.Boolean) locked; } protected ome.model.roi.AffineTransform transform = null;
public void setStrokeColor(java.lang.Integer strokeColor) { if (! _loaded ) errorIfUnloaded(); this.strokeColor = (java.lang.Integer) strokeColor; } protected java.lang.String strokeDashArray = null;
public void setStrokeDashArray(java.lang.String strokeDashArray) { if (! _loaded ) errorIfUnloaded(); this.strokeDashArray = (java.lang.String) strokeDashArray; } protected ome.model.units.Length strokeWidth = null;
/** * setter for annotationLinks should be avoided. Does not fulfill normal semantics. */ protected void setAnnotationLinks(java.util.Set<ome.model.annotations.ShapeAnnotationLink> annotationLinks) { if (! _loaded ) errorIfUnloaded(); this.annotationLinks = annotationLinks; } /**
@Override public void setVersion(Integer version) { if (! _loaded ) errorIfUnloaded(); this.version = version; }
public void setTheZ(java.lang.Integer theZ) { if (! _loaded ) errorIfUnloaded(); this.theZ = (java.lang.Integer) theZ; } protected java.lang.Integer theT = null;
public void setTheT(java.lang.Integer theT) { if (! _loaded ) errorIfUnloaded(); this.theT = (java.lang.Integer) theT; } protected java.lang.Integer theC = null;
public void setTransform(ome.model.roi.AffineTransform transform) { if (! _loaded ) errorIfUnloaded(); this.transform = transform; } protected java.lang.Integer fillColor = null;
public void setFillColor(java.lang.Integer fillColor) { if (! _loaded ) errorIfUnloaded(); this.fillColor = (java.lang.Integer) fillColor; } protected java.lang.String fillRule = null;
public void setFontFamily(java.lang.String fontFamily) { if (! _loaded ) errorIfUnloaded(); this.fontFamily = (java.lang.String) fontFamily; } protected ome.model.units.Length fontSize = null;
public void setFillRule(java.lang.String fillRule) { if (! _loaded ) errorIfUnloaded(); this.fillRule = (java.lang.String) fillRule; } protected java.lang.Integer strokeColor = null;
public void setFontStyle(java.lang.String fontStyle) { if (! _loaded ) errorIfUnloaded(); this.fontStyle = (java.lang.String) fontStyle; } protected java.util.Set<ome.model.annotations.ShapeAnnotationLink> annotationLinks = new java.util.HashSet<ome.model.annotations.ShapeAnnotationLink>();
/** * This version number is controlled by the database for optimisitic * locking. */ @javax.persistence.Column(name="version") // @javax.persistence.Version //TODO mark off #118 if this succeeds, otherwise, completely remove versions and test updateEvent @Override public Integer getVersion() { if (! _loaded ) errorIfUnloaded(); return this.version; }
/** * unlinks all ome.model.annotations.Annotation instances from this instance. */ public void unlinkAnnotation (ome.model.annotations.Annotation removal) { if (! _loaded ) errorIfUnloaded(); java.util.Set<ome.model.annotations.ShapeAnnotationLink> toRemove = findShapeAnnotationLink( removal ); java.util.Iterator<ome.model.annotations.ShapeAnnotationLink> it = toRemove.iterator(); while ( it.hasNext() ) { removeShapeAnnotationLink( it.next(), true ); } }
/** * Enum-mapped unit-based field ome.model.roi.Shape.strokeWidth (ome.model.units.Length) */ @javax.persistence.Embedded @javax.persistence.AttributeOverrides( { @javax.persistence.AttributeOverride(name="value", column = @javax.persistence.Column(name="strokeWidth") ), @javax.persistence.AttributeOverride(name="unit", column = @javax.persistence.Column(name="strokeWidthUnit") ) } ) public ome.model.units.Length getStrokeWidth() { if (! _loaded ) errorIfUnloaded(); return this.strokeWidth; }
/** * Enum-mapped unit-based field ome.model.roi.Shape.fontSize (ome.model.units.Length) */ @javax.persistence.Embedded @javax.persistence.AttributeOverrides( { @javax.persistence.AttributeOverride(name="value", column = @javax.persistence.Column(name="fontSize") ), @javax.persistence.AttributeOverride(name="unit", column = @javax.persistence.Column(name="fontSizeUnit") ) } ) public ome.model.units.Length getFontSize() { if (! _loaded ) errorIfUnloaded(); return this.fontSize; }
/** * Returns an unmodifiable collection-view */ public java.util.Collection<ome.model.annotations.ShapeAnnotationLink> unmodifiableAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { return java.util.Collections.emptyList(); } return java.util.Collections.unmodifiableCollection( getAnnotationLinks() ); }
/** * Adds a ome.model.annotations.ShapeAnnotationLink to annotationLinks, allowing for recursion -- whether * or not addShapeAnnotationLink will be called on the addition <b>if it is loaded</b> */ public void addShapeAnnotationLink (ome.model.annotations.ShapeAnnotationLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().add( link ); }
/** * removes a single element from this set and makes the inverse call on ome.model.annotations.ShapeAnnotationLink */ public void removeShapeAnnotationLink(ome.model.annotations.ShapeAnnotationLink target) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( target ); target.setParent ( null ); }