Class XmlModelledBinaryInteractionWrapper
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.binary.xml30.XmlModelledBinaryInteractionWrapper
-
- All Implemented Interfaces:
BinaryInteraction<ModelledParticipant>
,ModelledBinaryInteraction
,FileSourceContext
,Complex
,Interaction<ModelledParticipant>
,Interactor
,ModelledInteraction
,NamedInteraction<ModelledParticipant>
,PsiXmlInteraction<ModelledParticipant>
,ExtendedPsiXmlModelledInteraction
public class XmlModelledBinaryInteractionWrapper extends Object implements ModelledBinaryInteraction, FileSourceContext, ExtendedPsiXmlModelledInteraction
Wrapper for Xml binary interactions- Since:
16/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Complex
COMPLEX, COMPLEX_MI
-
Fields inherited from interface psidev.psi.mi.jami.model.Interactor
UNKNOWN_INTERACTOR, UNKNOWN_INTERACTOR_MI
-
Fields inherited from interface psidev.psi.mi.jami.model.ModelledInteraction
ECO, ECO_MI
-
-
Constructor Summary
Constructors Constructor Description XmlModelledBinaryInteractionWrapper(ExtendedPsiXmlModelledInteraction interaction)
Constructor for XmlModelledBinaryInteractionWrapper.XmlModelledBinaryInteractionWrapper(ExtendedPsiXmlModelledInteraction interaction, CvTerm complexExpansion)
Constructor for XmlModelledBinaryInteractionWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAllParticipants(Collection<? extends ModelledParticipant> participants)
This method will add all the participant and set the interaction of the new participant to this current interactionboolean
addParticipant(ModelledParticipant part)
This method will add the participant and set the interaction of the new participant to this current interactionvoid
assignComplexAc(String accession)
Assign a complex accession to a complex.void
assignComplexAc(String accession, String version)
Assign a complex accession to a complex.Collection<Alias>
getAliases()
getAliases.Collection<Annotation>
getAnnotations()
The Collection of annotations describing the interaction.List<BindingFeatures>
getBindingFeatures()
getBindingFeatures.CvTerm
getCausalRegulatoryMechanism()
getCausalRegulatoryMechanism.List<ExtendedPsiXmlCausalRelationship>
getCausalRelationships()
getCausalRelationships.Collection<Checksum>
getChecksums()
Set of checksums computed for this interaction..String
getComplexAc()
Complex accession if the complex has been curated under the Complex Portal curation rules.CvTerm
getComplexExpansion()
getComplexExpansion.String
getComplexVersion()
Complex version if the complex has been curated under the Complex Portal curation rules.Collection<CooperativeEffect>
getCooperativeEffects()
The collection of cooperative effects associated with this modelledInteraction.Date
getCreatedDate()
The creation date.Entry
getEntry()
getEntry.CvTerm
getEvidenceType()
The evidence type for this modelled interactions.String
getFullName()
The full name of the interaction.int
getId()
getId.Collection<Xref>
getIdentifiers()
The identifiers for an interaction.Collection<InteractionEvidence>
getInteractionEvidences()
Interaction evidences supporting this modelled interaction.CvTerm
getInteractionType()
The interaction type is a controlled vocabulary term.CvTerm
getInteractorType()
The molecule type of this interactor.Collection<ModelledConfidence>
getModelledConfidences()
The confidences in this interaction.Collection<ModelledParameter>
getModelledParameters()
Collection of numerical parameters for this interaction.Organism
getOrganism()
The original source organism for this interactor.ModelledParticipant
getParticipantA()
getParticipantA.ModelledParticipant
getParticipantB()
getParticipantB.Collection<ModelledParticipant>
getParticipants()
The collection of participants involved in this interaction.String
getPhysicalProperties()
The physical properties for this complex.Xref
getPreferredIdentifier()
The identifier in the list of identifiers which is the preferred identifier.String
getPreferredName()
The preferred name is the name by which we want to refer the interactor on our web site.String
getRecommendedName()
The recommended name of a complex.String
getRigid()
The checksum computed from the rogids from all the proteins involved in the interaction.String
getShortName()
The short name of the interaction.Source
getSource()
The source which reported this modelled interaction.FileSourceLocator
getSourceLocator()
The locator of a position in a file.String
getSystematicName()
The systematic name of a complex.Date
getUpdatedDate()
The last update date.Collection<Xref>
getXrefs()
The external cross references for an interaction.boolean
isIntraMolecular()
isIntraMolecular.boolean
removeAllParticipants(Collection<? extends ModelledParticipant> participants)
This method will remove the participant and set the interaction of the removed participant to null.boolean
removeParticipant(ModelledParticipant part)
This method will remove the participant and set the interaction of the new participant to nullvoid
setCausalRegulatoryMechanism(CvTerm causalRegulatoryMechanism)
Sets the causal regulatory mechanism of this binary interactionvoid
setComplexExpansion(CvTerm expansion)
Sets the complex expansion of this binary interactionvoid
setCreatedDate(Date created)
Sets the created datevoid
setEntry(Entry entry)
setEntry.void
setEvidenceType(CvTerm eco)
Sets the evidence typevoid
setFullName(String name)
Sets the full name of the interactionvoid
setId(int id)
setId.void
setInteractionType(CvTerm term)
Sets the interaction type.void
setInteractorType(CvTerm type)
Sets the molecule type for this interactor If the given type is null, this method automatically sets the interactor type to 'unknown participant' (MI:0329)void
setIntraMolecular(boolean intra)
setIntraMolecular.void
setOrganism(Organism organism)
Sets the source organism of this interactorvoid
setParticipantA(ModelledParticipant participantA)
setParticipantA.void
setParticipantB(ModelledParticipant participantB)
setParticipantB.void
setPhysicalProperties(String properties)
Sets the physical properties of this complex.void
setRecommendedName(String name)
Sets the recommended name of this complex.void
setRigid(String rigid)
Sets the rigid of this interaction.void
setShortName(String name)
Sets the short name of the interactionvoid
setSource(Source source)
Sets the source reporting the interaction.void
setSourceLocator(FileSourceLocator locator)
Sets the source locatorvoid
setSystematicName(String name)
Sets the systematic name of this complex.void
setUpdatedDate(Date updated)
Sets the last update dateString
toString()
toString-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.Complex
getComparableParticipants
-
-
-
-
Constructor Detail
-
XmlModelledBinaryInteractionWrapper
public XmlModelledBinaryInteractionWrapper(ExtendedPsiXmlModelledInteraction interaction)
Constructor for XmlModelledBinaryInteractionWrapper.
- Parameters:
interaction
- aExtendedPsiXmlModelledInteraction
object.
-
XmlModelledBinaryInteractionWrapper
public XmlModelledBinaryInteractionWrapper(ExtendedPsiXmlModelledInteraction interaction, CvTerm complexExpansion)
Constructor for XmlModelledBinaryInteractionWrapper.
- Parameters:
interaction
- aExtendedPsiXmlModelledInteraction
object.complexExpansion
- aCvTerm
object.
-
-
Method Detail
-
getParticipantA
public ModelledParticipant getParticipantA()
getParticipantA.
- Specified by:
getParticipantA
in interfaceBinaryInteraction<ModelledParticipant>
- Returns:
- a
ModelledParticipant
object.
-
getParticipantB
public ModelledParticipant getParticipantB()
getParticipantB.
- Specified by:
getParticipantB
in interfaceBinaryInteraction<ModelledParticipant>
- Returns:
- a
ModelledParticipant
object.
-
setParticipantA
public void setParticipantA(ModelledParticipant participantA)
setParticipantA.
- Specified by:
setParticipantA
in interfaceBinaryInteraction<ModelledParticipant>
- Parameters:
participantA
- aModelledParticipant
object.
-
setParticipantB
public void setParticipantB(ModelledParticipant participantB)
setParticipantB.
- Specified by:
setParticipantB
in interfaceBinaryInteraction<ModelledParticipant>
- Parameters:
participantB
- aModelledParticipant
object.
-
getComplexExpansion
public CvTerm getComplexExpansion()
getComplexExpansion.
- Specified by:
getComplexExpansion
in interfaceBinaryInteraction<ModelledParticipant>
- Returns:
- a
CvTerm
object.
-
setComplexExpansion
public void setComplexExpansion(CvTerm expansion)
Sets the complex expansion of this binary interaction- Specified by:
setComplexExpansion
in interfaceBinaryInteraction<ModelledParticipant>
- Parameters:
expansion
- : the complex expansion
-
getCausalRegulatoryMechanism
public CvTerm getCausalRegulatoryMechanism()
getCausalRegulatoryMechanism.
- Specified by:
getCausalRegulatoryMechanism
in interfaceBinaryInteraction<ModelledParticipant>
- Returns:
- a
CvTerm
object.
-
setCausalRegulatoryMechanism
public void setCausalRegulatoryMechanism(CvTerm causalRegulatoryMechanism)
Sets the causal regulatory mechanism of this binary interaction- Specified by:
setCausalRegulatoryMechanism
in interfaceBinaryInteraction<ModelledParticipant>
- Parameters:
causalRegulatoryMechanism
- : the complex regulatory mechanism CvTerm
-
getParticipants
public Collection<ModelledParticipant> getParticipants()
The collection of participants involved in this interaction. The collection cannot be null. If the interaction does not involve any participants, the method should return an empty set. The collection of participants for this binary interaction. It cannot be changed.- Specified by:
getParticipants
in interfaceInteraction<ModelledParticipant>
- Returns:
- the particiants
-
addParticipant
public boolean addParticipant(ModelledParticipant part)
This method will add the participant and set the interaction of the new participant to this current interaction Adds a new Participant and set the Interaction of this participant if added. If the participant B and A are null, it will first set the participantA. If the participantA is set, it will set the ParticipantB- Specified by:
addParticipant
in interfaceInteraction<ModelledParticipant>
- Parameters:
part
- : participant to add- Returns:
- true if participant is added to the list of participants
-
removeParticipant
public boolean removeParticipant(ModelledParticipant part)
This method will remove the participant and set the interaction of the new participant to null Removes the Participant from this binary interaction- Specified by:
removeParticipant
in interfaceInteraction<ModelledParticipant>
- Parameters:
part
- : participant to remove- Returns:
- true if participant is removed from the list of participants
-
addAllParticipants
public boolean addAllParticipants(Collection<? extends ModelledParticipant> participants)
This method will add all the participant and set the interaction of the new participant to this current interaction Adds the participants and set the Interaction of this participant if added. If the participant B and A are null, it will first set the participantA. If the participantA is set, it will set the ParticipantB- Specified by:
addAllParticipants
in interfaceInteraction<ModelledParticipant>
- Parameters:
participants
- : participants to add- Returns:
- true if participant are added to the list of participants
-
removeAllParticipants
public boolean removeAllParticipants(Collection<? extends ModelledParticipant> participants)
This method will remove the participant and set the interaction of the removed participant to null.- Specified by:
removeAllParticipants
in interfaceInteraction<ModelledParticipant>
- Parameters:
participants
- : participants to remove- Returns:
- true if participant are removed from the list of participants
-
getFullName
public String getFullName()
The full name of the interaction. It can be null- Specified by:
getFullName
in interfaceInteractor
- Specified by:
getFullName
in interfaceNamedInteraction<ModelledParticipant>
- Returns:
- the full name
-
setFullName
public void setFullName(String name)
Sets the full name of the interaction- Specified by:
setFullName
in interfaceInteractor
- Specified by:
setFullName
in interfaceNamedInteraction<ModelledParticipant>
- Parameters:
name
- : full name
-
getPreferredIdentifier
public Xref getPreferredIdentifier()
The identifier in the list of identifiers which is the preferred identifier. If no identifiers is preferred, it should return the first identifier of the list of identifiers, null if the list of identifiers is empty.- Specified by:
getPreferredIdentifier
in interfaceInteractor
- Returns:
- the preferred identifier in the list of identifiers, null if the list of identifiers is empty
-
getPreferredName
public String getPreferredName()
The preferred name is the name by which we want to refer the interactor on our web site.- Specified by:
getPreferredName
in interfaceInteractor
- Returns:
- the preferred name
-
getOrganism
public Organism getOrganism()
The original source organism for this interactor. It can be null in case of chemical compounds/synthetic peptides- Specified by:
getOrganism
in interfaceInteractor
- Returns:
- the organism
-
setOrganism
public void setOrganism(Organism organism)
Sets the source organism of this interactor- Specified by:
setOrganism
in interfaceInteractor
- Parameters:
organism
- : source organism
-
getInteractorType
public CvTerm getInteractorType()
The molecule type of this interactor. It is a controlled vocabulary term and cannot be null. Ex: protein, gene, small molecule, ...- Specified by:
getInteractorType
in interfaceInteractor
- Returns:
- interactor type
-
setInteractorType
public void setInteractorType(CvTerm type)
Sets the molecule type for this interactor If the given type is null, this method automatically sets the interactor type to 'unknown participant' (MI:0329)- Specified by:
setInteractorType
in interfaceInteractor
- Parameters:
type
- : molecule type
-
getBindingFeatures
public List<BindingFeatures> getBindingFeatures()
getBindingFeatures.
- Specified by:
getBindingFeatures
in interfaceExtendedPsiXmlModelledInteraction
- Returns:
- a
List
object.
-
getCausalRelationships
public List<ExtendedPsiXmlCausalRelationship> getCausalRelationships()
getCausalRelationships.
- Specified by:
getCausalRelationships
in interfaceExtendedPsiXmlModelledInteraction
- Returns:
- a
List
object.
-
getAliases
public Collection<Alias> getAliases()
getAliases.
- Specified by:
getAliases
in interfaceExtendedPsiXmlModelledInteraction
- Specified by:
getAliases
in interfaceInteractor
- Specified by:
getAliases
in interfaceNamedInteraction<ModelledParticipant>
- Specified by:
getAliases
in interfacePsiXmlInteraction<ModelledParticipant>
- Returns:
- a
Collection
object.
-
isIntraMolecular
public boolean isIntraMolecular()
isIntraMolecular.
- Specified by:
isIntraMolecular
in interfacePsiXmlInteraction<ModelledParticipant>
- Returns:
- a boolean.
-
setIntraMolecular
public void setIntraMolecular(boolean intra)
setIntraMolecular.
- Specified by:
setIntraMolecular
in interfacePsiXmlInteraction<ModelledParticipant>
- Parameters:
intra
- a boolean.
-
getEntry
public Entry getEntry()
getEntry.
- Specified by:
getEntry
in interfacePsiXmlInteraction<ModelledParticipant>
- Returns:
- a
Entry
object.
-
setEntry
public void setEntry(Entry entry)
setEntry.
- Specified by:
setEntry
in interfacePsiXmlInteraction<ModelledParticipant>
- Parameters:
entry
- aEntry
object.
-
getId
public int getId()
getId.
- Specified by:
getId
in interfacePsiXmlInteraction<ModelledParticipant>
- Returns:
- a int.
-
setId
public void setId(int id)
setId.
- Specified by:
setId
in interfacePsiXmlInteraction<ModelledParticipant>
- Parameters:
id
- a int.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
The locator of a position in a file. It can be null- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- the file locator
-
setSourceLocator
public void setSourceLocator(FileSourceLocator locator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
locator
- : the file locator
-
getShortName
public String getShortName()
The short name of the interaction. It can be null. Ex: foxc1-flna, ...- Specified by:
getShortName
in interfaceInteraction<ModelledParticipant>
- Specified by:
getShortName
in interfaceInteractor
- Returns:
- short name of the interaction
-
setShortName
public void setShortName(String name)
Sets the short name of the interaction- Specified by:
setShortName
in interfaceInteraction<ModelledParticipant>
- Specified by:
setShortName
in interfaceInteractor
- Parameters:
name
- : short name
-
getRigid
public String getRigid()
The checksum computed from the rogids from all the proteins involved in the interaction. It is only relevant for protein-protein interactions. This is a shortcut to the first rigid in the list of checksums- Specified by:
getRigid
in interfaceInteraction<ModelledParticipant>
- Returns:
- the rigid
-
setRigid
public void setRigid(String rigid)
Sets the rigid of this interaction. It will remove the previous rigid from the list of checksum and add the new one. If rigid is null, it will remove all the rigid in the list of checksum- Specified by:
setRigid
in interfaceInteraction<ModelledParticipant>
- Parameters:
rigid
- : the rigid
-
getIdentifiers
public Collection<Xref> getIdentifiers()
The identifiers for an interaction. The Collection cannot be null. If the interaction does not have any identifiers (IMEx is not among the identifiers), the method should return an emtpy Collection. Ex: original interaction database accession, ...- Specified by:
getIdentifiers
in interfaceInteraction<ModelledParticipant>
- Specified by:
getIdentifiers
in interfaceInteractor
- Returns:
- the xrefs
-
getXrefs
public Collection<Xref> getXrefs()
The external cross references for an interaction. The Collection cannot be null. If the interaction does not have any xrefs, the method should return an emtpy Collection. Ex: GO process xrefs, GO component xrefs, database accession that can identify the interaction, ...- Specified by:
getXrefs
in interfaceInteraction<ModelledParticipant>
- Specified by:
getXrefs
in interfaceInteractor
- Returns:
- the xrefs
-
getChecksums
public Collection<Checksum> getChecksums()
Set of checksums computed for this interaction.. The Collection cannot be null so when an interaction does not have a checksum, the method should return an empty Collection Ex: rigid:u1FCes02jPb3CGRj1aDkzpbSiuI9606, ...- Specified by:
getChecksums
in interfaceInteraction<ModelledParticipant>
- Specified by:
getChecksums
in interfaceInteractor
- Returns:
- the set of checksums
-
getAnnotations
public Collection<Annotation> getAnnotations()
The Collection of annotations describing the interaction. The Collection cannot be null. If the interaction does not have any annotations, the method should return an empty Collection. Ex: figure-legend annotations, comments, cautions, ...- Specified by:
getAnnotations
in interfaceInteraction<ModelledParticipant>
- Specified by:
getAnnotations
in interfaceInteractor
- Returns:
- the annotations
-
getUpdatedDate
public Date getUpdatedDate()
The last update date. It can be null if not relevant or not known.- Specified by:
getUpdatedDate
in interfaceInteraction<ModelledParticipant>
- Returns:
- the last update date
-
setUpdatedDate
public void setUpdatedDate(Date updated)
Sets the last update date- Specified by:
setUpdatedDate
in interfaceInteraction<ModelledParticipant>
- Parameters:
updated
- : last update date
-
getCreatedDate
public Date getCreatedDate()
The creation date. It can be null if not relevant or not known.- Specified by:
getCreatedDate
in interfaceInteraction<ModelledParticipant>
- Returns:
- the last update date
-
setCreatedDate
public void setCreatedDate(Date created)
Sets the created date- Specified by:
setCreatedDate
in interfaceInteraction<ModelledParticipant>
- Parameters:
created
- : created date
-
getInteractionType
public CvTerm getInteractionType()
The interaction type is a controlled vocabulary term. It can be null. Ex: direct interaction, association, ...- Specified by:
getInteractionType
in interfaceInteraction<ModelledParticipant>
- Returns:
- the interaction type
-
setInteractionType
public void setInteractionType(CvTerm term)
Sets the interaction type.- Specified by:
setInteractionType
in interfaceInteraction<ModelledParticipant>
- Parameters:
term
- : interaction type
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
getInteractionEvidences
public Collection<InteractionEvidence> getInteractionEvidences()
Interaction evidences supporting this modelled interaction. The collection cannot be null. If the modelled interaction does not have experimental interactions attached to it, the method should return an empty set- Specified by:
getInteractionEvidences
in interfaceModelledInteraction
- Returns:
- the collection of experimental evidences
-
getSource
public Source getSource()
The source which reported this modelled interaction. It can be an organization, institute, ... It can be null if the source is unknown or not relevant. Ex: IntAct, MINT, DIP, ...- Specified by:
getSource
in interfaceModelledInteraction
- Returns:
- the source
-
setSource
public void setSource(Source source)
Sets the source reporting the interaction.- Specified by:
setSource
in interfaceModelledInteraction
- Parameters:
source
- : source for this interaction
-
getEvidenceType
public CvTerm getEvidenceType()
The evidence type for this modelled interactions. Usually this Cv term is ECO (evidence code ontology) code. It can be null. Ex: ECO:0000021, physical interaction evidence- Specified by:
getEvidenceType
in interfaceModelledInteraction
- Returns:
- the evidence type
-
setEvidenceType
public void setEvidenceType(CvTerm eco)
Sets the evidence type- Specified by:
setEvidenceType
in interfaceModelledInteraction
- Parameters:
eco
- : the evidence type
-
getModelledConfidences
public Collection<ModelledConfidence> getModelledConfidences()
The confidences in this interaction. The Collection cannot be null. If the interaction does not have any confidences, the method should return an empty Collection. Ex: author based scores, statistical confidences, ...- Specified by:
getModelledConfidences
in interfaceModelledInteraction
- Returns:
- the confidences
-
getModelledParameters
public Collection<ModelledParameter> getModelledParameters()
Collection of numerical parameters for this interaction. The set cannot be null. If the interaction does not have any parameters, the method should return an empty Collection. Ex: IC50, ...- Specified by:
getModelledParameters
in interfaceModelledInteraction
- Returns:
- the parameters
-
getCooperativeEffects
public Collection<CooperativeEffect> getCooperativeEffects()
The collection of cooperative effects associated with this modelledInteraction. The collection cannot be null. If the ModelledInteraction does not have any cooperative effects, this method should return an empty collection.- Specified by:
getCooperativeEffects
in interfaceModelledInteraction
- Returns:
- the collection of cooperative effects for this modelled interaction
-
getComplexAc
public String getComplexAc()
Complex accession if the complex has been curated under the Complex Portal curation rules. It can be null if the complex is not registered in the Complex Portal. This complex accession should be a shortcut to the complex-primary Xref in the collection of xrefs. Ex: CPX-123- Specified by:
getComplexAc
in interfaceComplex
- Returns:
- the complex accession
-
getComplexVersion
public String getComplexVersion()
Complex version if the complex has been curated under the Complex Portal curation rules. It can be null if the complex is not registered in the Complex Portal. This complex version should be a shortcut to the complex-primary Xref version in the collection of xrefs. Ex: 1- Specified by:
getComplexVersion
in interfaceComplex
- Returns:
- the complex version
-
assignComplexAc
public void assignComplexAc(String accession, String version)
Assign a complex accession to a complex. It will add the new complex-primary ref to the collection of xrefs- Specified by:
assignComplexAc
in interfaceComplex
- Parameters:
accession
- : the complex accessionversion
- : the version of the complex if it is provided. If version is null it will create the complex with version 1
-
assignComplexAc
public void assignComplexAc(String accession)
Assign a complex accession to a complex. It will add the new complex-primary ref to the collection of xrefs- Specified by:
assignComplexAc
in interfaceComplex
- Parameters:
accession
- : the complex accession. If the version is added to the accession e.g. CPX-1234.2 the complex will be updated with the corresponding version, if not it is assumed version 1
-
getPhysicalProperties
public String getPhysicalProperties()
The physical properties for this complex. It is a shortcut which should point to the first complex-properties annotation in the collection of annotations. Example: Molecular mass = 154 kDa- Specified by:
getPhysicalProperties
in interfaceComplex
- Returns:
- the properties
-
setPhysicalProperties
public void setPhysicalProperties(String properties)
Sets the physical properties of this complex. It will remove the old complex-properties annotation from the collection of annotations and replace it with the new complex-properties annotation. If the new complex-properties is null, all the existing complex-properties annotations will be removed from the collection of annotations- Specified by:
setPhysicalProperties
in interfaceComplex
- Parameters:
properties
- : complex properties
-
getRecommendedName
public String getRecommendedName()
The recommended name of a complex. It is a shortcut which should point to the first complex recommended name alias in the collection of aliases.- Specified by:
getRecommendedName
in interfaceComplex
- Returns:
- the recommended name
-
setRecommendedName
public void setRecommendedName(String name)
Sets the recommended name of this complex. It will remove the old recommended name from the collection of aliases and replace it with the new recommended name. If the new recommended name is null, all the existing recommended names will be removed from the collection of aliases- Specified by:
setRecommendedName
in interfaceComplex
- Parameters:
name
- : the recommended name
-
getSystematicName
public String getSystematicName()
The systematic name of a complex. It is a shortcut which should point to the first complex systematic name alias in the collection of aliases.- Specified by:
getSystematicName
in interfaceComplex
- Returns:
- the systematic name
-
setSystematicName
public void setSystematicName(String name)
Sets the systematic name of this complex. It will remove the old systematic name from the collection of aliases and replace it with the new systematic name. If the new systematic name is null, all the existing systematic names will be removed from the collection of aliases- Specified by:
setSystematicName
in interfaceComplex
- Parameters:
name
- : the systematic name
-
-