public class ProteinMiscChange extends ProteinChange
Constructor and Description |
---|
ProteinMiscChange(boolean onlyPredicted,
ProteinMiscChangeType changeType)
Construct with given
changeType and onlyPredicted flag. |
Modifier and Type | Method and Description |
---|---|
static ProteinMiscChange |
build(boolean onlyPredicted,
ProteinMiscChangeType changeType)
Static factory function that forwards to
ProteinMiscChange(boolean, ProteinMiscChangeType) . |
boolean |
equals(Object obj) |
ProteinMiscChangeType |
getChangeType() |
int |
hashCode() |
String |
toHGVSString(AminoAcidCode code)
Return HGVS representation using the given amino acid code.
|
ProteinChange |
withOnlyPredicted(boolean onlyPredicted) |
isOnlyPredicted, toHGVSString
public ProteinMiscChange(boolean onlyPredicted, ProteinMiscChangeType changeType)
changeType
and onlyPredicted
flag.onlyPredicted
- whether or not the change is only predictedchangeType
- type of the changepublic static ProteinMiscChange build(boolean onlyPredicted, ProteinMiscChangeType changeType)
ProteinMiscChange(boolean, ProteinMiscChangeType)
.public ProteinMiscChangeType getChangeType()
ProteinMiscChangeType
public String toHGVSString(AminoAcidCode code)
ConvertibleToHGVSString
code
- AminoAcidCode
to useProteinPointLocation
public int hashCode()
hashCode
in class ProteinChange
public boolean equals(Object obj)
equals
in class ProteinChange
public ProteinChange withOnlyPredicted(boolean onlyPredicted)
withOnlyPredicted
in class ProteinChange
ProteinChange
object with prediction state set to the one given by the parameterCopyright © 2016. All rights reserved.