Class ExperimentalFactor
- All Implemented Interfaces:
gemma.gsec.model.Securable,gemma.gsec.model.SecuredChild,Securable,SecuredChild<ExpressionExperiment>,Describable,Identifiable
- Author:
- Paul
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: The name should be compared in a case-insensitive manner.Deprecated.Obtain the category of this experimental factor.Obtain a human-readable description of the objectgetId()Obtain the identifier of the object.getName()Obtain the name of the object.Obtain the security owner of this secured child.getType()voidsetAnnotations(Set<Characteristic> annotations) Deprecated.voidsetCategory(Characteristic category) voidsetExperimentalDesign(ExperimentalDesign experimentalDesign) voidsetFactorValues(Set<FactorValue> factorValues) voidsetSecurityOwner(ExpressionExperiment securityOwner) voidsetType(FactorType type) toString()Methods inherited from class ubic.gemma.model.common.AbstractDescribable
hashCode, setDescription, setNameMethods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
-
Field Details
-
COMPARATOR
-
-
Constructor Details
-
ExperimentalFactor
public ExperimentalFactor()No-arg constructor added to satisfy javabean contract
-
-
Method Details
-
getId
Description copied from interface:IdentifiableObtain the identifier of the object.- Specified by:
getIdin interfaceIdentifiable- Specified by:
getIdin interfacegemma.gsec.model.Securable- Overrides:
getIdin classAbstractIdentifiable
-
getName
Description copied from interface:DescribableObtain the name of the object.It may be human-readable.
It is case-insensitive and usually unique within a certain context (e.g. in a collection).
It is non-null by default, but implementation may override this with a
Nullableannotation. If null, it should not be treated as equal to otherDescribableobjects (i.e. there can be multiple null-named describable within a given set).- Specified by:
getNamein interfaceDescribable- Overrides:
getNamein classAbstractDescribable
-
getDescription
Description copied from interface:DescribableObtain a human-readable description of the object- Specified by:
getDescriptionin interfaceDescribable- Overrides:
getDescriptionin classAbstractDescribable
-
getSecurityOwner
Description copied from interface:SecuredChildObtain the security owner of this secured child.Secured children should always have an owner in the ACL table, but that relation is not always direct or mapped. A more robust way of checking is to look up the parent via
AclObjectIdentity.getParentObject(). If the security owner cannot be determined, the implementation should define a setter so it can be temporarily assigned for creating the ACL identity.- Specified by:
getSecurityOwnerin interfacegemma.gsec.model.SecuredChild- Specified by:
getSecurityOwnerin interfaceSecuredChild<ExpressionExperiment>- Returns:
- the security owner, or null if not known.
-
setSecurityOwner
-
getType
- Returns:
- Categorical vs. continuous. Continuous factors must have a 'measurement' associated with the factorvalues, Categorical ones must not.
-
setType
-
getCategory
Obtain the category of this experimental factor.- Returns:
- the category or null if annotated automatically from GEO or used as a dummy.
-
setCategory
-
getExperimentalDesign
-
setExperimentalDesign
-
getFactorValues
- Returns:
- The pairing of BioAssay FactorValues with the ExperimentDesign ExperimentFactor.
-
setFactorValues
-
getAnnotations
Deprecated. -
setAnnotations
Deprecated. -
equals
Description copied from class:AbstractDescribableImportant note: The name should be compared in a case-insensitive manner. You can useDescribableUtils.equalsByName(Describable, Describable)to get the correct behavior.Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.
- Specified by:
equalsin classAbstractDescribable
-
toString
- Overrides:
toStringin classAbstractDescribable
-