public void setMultivalued(java.lang.Boolean multivalued) { if (! _loaded ) errorIfUnloaded(); this.multivalued = (java.lang.Boolean) multivalued; } protected java.lang.Boolean display = null;
/** * 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 setKeywords(java.util.List<String> keywords) { if (! _loaded ) errorIfUnloaded(); this.keywords = (java.util.List<String>) keywords; } protected java.lang.Boolean multivalued = null;
public void setDescription(java.lang.String description) { if (! _loaded ) errorIfUnloaded(); this.description = (java.lang.String) description; } protected ome.model.internal.Details details = new Details();
@Override public void setVersion(Integer version) { if (! _loaded ) errorIfUnloaded(); this.version = version; }
public void setDisplay(java.lang.Boolean display) { if (! _loaded ) errorIfUnloaded(); this.display = (java.lang.Boolean) display; } protected java.lang.String displayName = null;
/** * setter for annotationLinks should be avoided. Does not fulfill normal semantics. */ protected void setAnnotationLinks(java.util.Set<ome.model.annotations.NamespaceAnnotationLink> annotationLinks) { if (! _loaded ) errorIfUnloaded(); this.annotationLinks = annotationLinks; } /**
public void setDisplayName(java.lang.String displayName) { if (! _loaded ) errorIfUnloaded(); this.displayName = (java.lang.String) displayName; } protected java.util.Set<ome.model.annotations.NamespaceAnnotationLink> annotationLinks = new java.util.HashSet<ome.model.annotations.NamespaceAnnotationLink>();
public void setName(java.lang.String name) { if (! _loaded ) errorIfUnloaded(); this.name = (java.lang.String) name; } protected java.lang.String description = null;
/** * Simple field ome.model.meta.Namespace.multivalued (java.lang.Boolean) */ // No @Type annotation // Not indexed @javax.persistence.Column(columnDefinition="", nullable=true, unique=false, name="multivalued", updatable=true) public java.lang.Boolean getMultivalued() { if (! _loaded ) errorIfUnloaded(); return this.multivalued; }
/** * Simple field ome.model.meta.Namespace.display (java.lang.Boolean) */ // No @Type annotation // Not indexed @javax.persistence.Column(columnDefinition="", nullable=true, unique=false, name="display", updatable=true) public java.lang.Boolean getDisplay() { if (! _loaded ) errorIfUnloaded(); return this.display; }
/** * 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; }
/** * returns the size of annotationLinks. If less than zero, the Set was null. */ public int sizeOfAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); return this.annotationLinks == null ? -1 : this.annotationLinks.size(); }
/** * Simple field ome.model.meta.Namespace.keywords (java.util.List<String>) */ @org.hibernate.annotations.Type(type="ome.tools.hibernate.ListAsSQLArrayUserType$STRING", parameters=@org.hibernate.annotations.Parameter(name="profile", value="psql")) // Not indexed @javax.persistence.Column(columnDefinition="text[]", nullable=true, unique=false, name="keywords", updatable=true) public java.util.List<String> getKeywords() { if (! _loaded ) errorIfUnloaded(); return this.keywords; }
/** * 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.NamespaceAnnotationLink> toRemove = findNamespaceAnnotationLink( removal ); java.util.Iterator<ome.model.annotations.NamespaceAnnotationLink> it = toRemove.iterator(); while ( it.hasNext() ) { removeNamespaceAnnotationLink( it.next(), true ); } }
/** * Returns an unmodifiable collection-view */ public java.util.Collection<ome.model.annotations.NamespaceAnnotationLink> unmodifiableAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { return java.util.Collections.emptyList(); } return java.util.Collections.unmodifiableCollection( getAnnotationLinks() ); }
/** * clears the set. */ public void clearAnnotationLinks() { if (! _loaded ) errorIfUnloaded(); java.util.List<ome.model.annotations.NamespaceAnnotationLink> list = new java.util.ArrayList<ome.model.annotations.NamespaceAnnotationLink>( getAnnotationLinks() ); for (ome.model.annotations.NamespaceAnnotationLink link : list) { removeNamespaceAnnotationLink( link, true ); } }
/** * Adds a ome.model.annotations.NamespaceAnnotationLink to annotationLinks, allowing for recursion -- whether * or not addNamespaceAnnotationLink will be called on the addition <b>if it is loaded</b> */ public void addNamespaceAnnotationLink (ome.model.annotations.NamespaceAnnotationLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().add( link ); }
/** * removes the given NamespaceAnnotationLink from annotationLinks, allowing for recursion -- whether * or not the removal will call unlinkNamespace again <b>if loaded</b>. */ public void removeNamespaceAnnotationLink (ome.model.annotations.NamespaceAnnotationLink link, boolean bothSides) { if (! _loaded ) errorIfUnloaded(); if ( getAnnotationLinks() == null ) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( link ); }
/** * removes a single element from this set and makes the inverse call on ome.model.annotations.NamespaceAnnotationLink */ public void removeNamespaceAnnotationLink(ome.model.annotations.NamespaceAnnotationLink target) { if (! _loaded ) errorIfUnloaded(); if (getAnnotationLinks() == null) { throwNullCollectionException("AnnotationLinks"); } getAnnotationLinks().remove( target ); target.setParent ( null ); }