Class ArrayDesignValueObject
- All Implemented Interfaces:
Serializable, Versioned, Identifiable
- Author:
- paul et al
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCuratableValueObject
AbstractCuratableValueObject.LastEventTriple -
Field Summary
Fields inherited from class IdentifiableValueObject
id -
Constructor Summary
ConstructorsModifierConstructorDescriptionThis will only work if the object is thawed (lightly).ArrayDesignValueObject(ArrayDesign ad, boolean skipEvents) Variant ofArrayDesignValueObject(ArrayDesign)that propagates theskipEventshint up toAbstractCuratableValueObject, letting the caller batch- hydrate the threelast*Eventassociations offCurationDetailspost-fetch (viaAbstractCuratableValueObject.applyLastEventTriple(AbstractCuratableValueObject.LastEventTriple)) instead of paying ~3 SELECTs per row at construction time.protectedArrayDesignValueObject(ArrayDesignValueObject arrayDesignValueObject) Copies constructor from other ArrayDesignValueObject -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic Collection<ArrayDesignValueObject> create(Collection<ArrayDesign> subsumees) booleangetColor()Deprecated.Deprecated.Main external reference.When the report backingnumberOfGenes/numberOfMappedElementswas written, asyyyy.MM.dd HH:mm.Indicates this array design is the merger of other array designs.Indicates that this array design has been merged into another.Indicate if this array design is subsumed by some other array design.Indicates if this array design subsumes some other array design(s)The platform this one was merged into, or null when it was not merged.The platforms merged INTO this one — the inverse ofmergedInto, empty when there are none.getName()Distinct genes the platform's elements map to, or null when the caller did not ask.Elements on the platform that map to at least one gene, or null when the caller did not ask.The number of unique genes that this array design maps to.The number of probes that have BLAT alignments.The number of probes that map to bioSequences.The number of probes that map to genes.External URL to the release, if applicable.The version of the release, if applicable.getTaxon()Deprecated.usegetTaxonObject()insteadinthashCode()voidsetBlackListed(Boolean blackListed) voidDeprecated.voidsetCreateDate(Date createDate) voidsetDateCached(String dateCached) voidsetDescription(String description) voidsetDesignElementCount(Integer designElementCount) voidsetExpressionExperimentCount(Long expressionExperimentCount) voidsetExternalReferences(Set<DatabaseEntryValueObject> externalReferences) Main external reference.voidsetGeneCountsLastUpdated(String geneCountsLastUpdated) When the report backingnumberOfGenes/numberOfMappedElementswas written, asyyyy.MM.dd HH:mm.voidsetHasBlatAssociations(Boolean hasBlatAssociations) voidsetHasGeneAssociations(Boolean hasGeneAssociations) voidsetHasSequenceAssociations(Boolean hasSequenceAssociations) voidsetIsAffymetrixAltCdf(Boolean isAffymetrixAltCdf) voidsetIsMerged(Boolean isMerged) Indicates this array design is the merger of other array designs.voidsetIsMergee(Boolean isMergee) Indicates that this array design has been merged into another.voidsetIsSubsumed(Boolean isSubsumed) Indicate if this array design is subsumed by some other array design.voidsetIsSubsumer(Boolean isSubsumer) Indicates if this array design subsumes some other array design(s)voidsetLastGeneMapping(Date lastGeneMapping) voidsetLastRepeatMask(Date lastRepeatMask) voidsetLastSequenceAnalysis(Date lastSequenceAnalysis) voidsetLastSequenceUpdate(Date lastSequenceUpdate) voidsetMergedInto(ArrayDesignReferenceValueObject mergedInto) The platform this one was merged into, or null when it was not merged.voidsetMergees(List<ArrayDesignReferenceValueObject> mergees) The platforms merged INTO this one — the inverse ofmergedInto, empty when there are none.voidvoidsetNumberOfGenes(Long numberOfGenes) Distinct genes the platform's elements map to, or null when the caller did not ask.voidsetNumberOfMappedElements(Long numberOfMappedElements) Elements on the platform that map to at least one gene, or null when the caller did not ask.voidsetNumGenes(String numGenes) The number of unique genes that this array design maps to.voidsetNumProbeAlignments(String numProbeAlignments) The number of probes that have BLAT alignments.voidsetNumProbeSequences(String numProbeSequences) The number of probes that map to bioSequences.voidsetNumProbesToGenes(String numProbesToGenes) The number of probes that map to genes.voidsetReleaseUrl(URL releaseUrl) voidsetReleaseVersion(String releaseVersion) voidsetShortName(String shortName) voidsetSwitchedExpressionExperimentCount(Long switchedExpressionExperimentCount) voidsetTaxonObject(TaxonValueObject taxonObject) voidsetTechnologyType(String technologyType) toString()Methods inherited from class AbstractCuratableValueObject
applyLastEventTriple, getCurationNote, getLastNeedsAttentionEvent, getLastNoteUpdateEvent, getLastTroubledEvent, getLastUpdated, getNeedsAttention, getTroubled, getTroubleDetails, getTroubleDetails, setCurationNote, setLastNeedsAttentionEvent, setLastNoteUpdateEvent, setLastTroubledEvent, setLastUpdated, setNeedsAttention, setTroubledMethods inherited from class IdentifiableValueObject
getId, setIdMethods inherited from interface Versioned
getLastUpdated
-
Constructor Details
-
ArrayDesignValueObject
public ArrayDesignValueObject() -
ArrayDesignValueObject
-
ArrayDesignValueObject
This will only work if the object is thawed (lightly). Not everything will be filled in -- test before using!- Parameters:
ad- ad
-
ArrayDesignValueObject
Variant ofArrayDesignValueObject(ArrayDesign)that propagates theskipEventshint up toAbstractCuratableValueObject, letting the caller batch- hydrate the threelast*Eventassociations offCurationDetailspost-fetch (viaAbstractCuratableValueObject.applyLastEventTriple(AbstractCuratableValueObject.LastEventTriple)) instead of paying ~3 SELECTs per row at construction time. SeeArrayDesignDaoImpl#loadLastEventsByArrayDesignIds. -
ArrayDesignValueObject
Copies constructor from other ArrayDesignValueObject
-
-
Method Details
-
create
-
getExpressionExperimentCount
Deprecated.usegetNumberOfExpressionExperiments()instead. -
getNumberOfExpressionExperiments
-
getTaxon
-
getTaxonID
Deprecated.usegetTaxonObject()instead -
toString
- Overrides:
toStringin classIdentifiableValueObject<ArrayDesign>
-
getBlackListed
-
getColor
Deprecated. -
getDateCached
-
getDescription
-
getDesignElementCount
-
getHasBlatAssociations
-
getHasGeneAssociations
-
getHasSequenceAssociations
-
getIsAffymetrixAltCdf
-
getIsMerged
Indicates this array design is the merger of other array designs. -
getIsMergee
Indicates that this array design has been merged into another. -
getMergedInto
The platform this one was merged into, or null when it was not merged.The companion to
isMergee, which says only THAT a merge happened. Batch-hydrated inArrayDesignDaoImpl.populateMergeRelations; the association isLAZYon the entity, so readingshortNameoff the proxy inside the constructor would fire one extra query per row of a listing. -
getMergees
The platforms merged INTO this one — the inverse ofmergedInto, empty when there are none. Companion toisMerged. -
getIsSubsumed
Indicate if this array design is subsumed by some other array design. -
getIsSubsumer
Indicates if this array design subsumes some other array design(s) -
getLastGeneMapping
-
getLastRepeatMask
-
getLastSequenceAnalysis
-
getLastSequenceUpdate
-
getName
-
getCreateDate
-
getNumGenes
The number of unique genes that this array design maps to.Report-era field: a
String, written byArrayDesignReportServiceinto a disk-serialized report and never populated on the REST path. Left as-is because those report files are Java-serialized on production and retyping the field would break reading them. The live, typed counterpart on the wire isnumberOfGenes. -
getNumberOfGenes
Distinct genes the platform's elements map to, or null when the caller did not ask.Opt-in via
?withGeneCounts=true; seeArrayDesignDao.getGeneCounts(Collection)for why it is not computed by default. -
getNumberOfMappedElements
Elements on the platform that map to at least one gene, or null when the caller did not ask. Pairs withnumberOfGenesand comes from the same query — the difference between the two is what tells a reader whether a platform is densely or sparsely annotated. -
getGeneCountsLastUpdated
When the report backingnumberOfGenes/numberOfMappedElementswas written, asyyyy.MM.dd HH:mm.Null when the counts were derived live rather than read from a report (gene-list platforms, where the element count answers both), or when no counts were populated at all. Exposed because a count read from a monthly report is not the same claim as a fresh one, and a client showing the number should be able to say how old it is.
-
getNumProbeAlignments
The number of probes that have BLAT alignments. -
getNumProbeSequences
The number of probes that map to bioSequences. -
getNumProbesToGenes
The number of probes that map to genes. This count includes probe-aligned regions, predicted genes, and known genes. -
getShortName
-
getSwitchedExpressionExperimentCount
-
getTaxonObject
-
getTechnologyType
-
getReleaseVersion
Description copied from interface:VersionedThe version of the release, if applicable.- Specified by:
getReleaseVersionin interfaceVersioned
-
getReleaseUrl
Description copied from interface:VersionedExternal URL to the release, if applicable.- Specified by:
getReleaseUrlin interfaceVersioned
-
getExternalReferences
Main external reference. -
setBlackListed
-
setColor
Deprecated. -
setDateCached
-
setDescription
-
setDesignElementCount
-
setExpressionExperimentCount
-
setHasBlatAssociations
-
setHasGeneAssociations
-
setHasSequenceAssociations
-
setIsAffymetrixAltCdf
-
setIsMerged
Indicates this array design is the merger of other array designs. -
setIsMergee
Indicates that this array design has been merged into another. -
setMergedInto
The platform this one was merged into, or null when it was not merged.The companion to
isMergee, which says only THAT a merge happened. Batch-hydrated inArrayDesignDaoImpl.populateMergeRelations; the association isLAZYon the entity, so readingshortNameoff the proxy inside the constructor would fire one extra query per row of a listing. -
setMergees
The platforms merged INTO this one — the inverse ofmergedInto, empty when there are none. Companion toisMerged. -
setIsSubsumed
Indicate if this array design is subsumed by some other array design. -
setIsSubsumer
Indicates if this array design subsumes some other array design(s) -
setLastGeneMapping
-
setLastRepeatMask
-
setLastSequenceAnalysis
-
setLastSequenceUpdate
-
setName
-
setCreateDate
-
setNumGenes
The number of unique genes that this array design maps to.Report-era field: a
String, written byArrayDesignReportServiceinto a disk-serialized report and never populated on the REST path. Left as-is because those report files are Java-serialized on production and retyping the field would break reading them. The live, typed counterpart on the wire isnumberOfGenes. -
setNumberOfGenes
Distinct genes the platform's elements map to, or null when the caller did not ask.Opt-in via
?withGeneCounts=true; seeArrayDesignDao.getGeneCounts(Collection)for why it is not computed by default. -
setNumberOfMappedElements
Elements on the platform that map to at least one gene, or null when the caller did not ask. Pairs withnumberOfGenesand comes from the same query — the difference between the two is what tells a reader whether a platform is densely or sparsely annotated. -
setGeneCountsLastUpdated
When the report backingnumberOfGenes/numberOfMappedElementswas written, asyyyy.MM.dd HH:mm.Null when the counts were derived live rather than read from a report (gene-list platforms, where the element count answers both), or when no counts were populated at all. Exposed because a count read from a monthly report is not the same claim as a fresh one, and a client showing the number should be able to say how old it is.
-
setNumProbeAlignments
The number of probes that have BLAT alignments. -
setNumProbeSequences
The number of probes that map to bioSequences. -
setNumProbesToGenes
The number of probes that map to genes. This count includes probe-aligned regions, predicted genes, and known genes. -
setShortName
-
setSwitchedExpressionExperimentCount
-
setTaxonObject
-
setTechnologyType
-
setReleaseVersion
-
setReleaseUrl
-
setExternalReferences
Main external reference. -
equals
- Overrides:
equalsin classIdentifiableValueObject<ArrayDesign>
-
canEqual
- Overrides:
canEqualin classIdentifiableValueObject<ArrayDesign>
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableValueObject<ArrayDesign>
-
getNumberOfExpressionExperiments()instead.