public class NucleotideMiscChange extends NucleotideChange
Constructor and Description |
---|
NucleotideMiscChange(boolean onlyPredicted,
NucleotideMiscChangeType changeType)
Construct with given
changeType and onlyPredicted flag. |
Modifier and Type | Method and Description |
---|---|
static NucleotideMiscChange |
build(boolean onlyPredicted,
NucleotideMiscChangeType changeType)
Static factory function that forwards to
NucleotideMiscChange(boolean, NucleotideMiscChangeType) . |
static NucleotideMiscChange |
buildFromString(String str)
Build from input string.
|
boolean |
equals(Object obj) |
NucleotideMiscChangeType |
getChangeType() |
int |
hashCode() |
String |
toHGVSString()
Return HGVS representation in three-letter amino acid code.
|
NucleotideMiscChange |
withOnlyPredicted(boolean flag) |
isOnlyPredicted, toHGVSString
public NucleotideMiscChange(boolean onlyPredicted, NucleotideMiscChangeType changeType)
changeType
and onlyPredicted
flag.onlyPredicted
- whether or not the change is only predictedchangeType
- type of the changepublic static NucleotideMiscChange build(boolean onlyPredicted, NucleotideMiscChangeType changeType)
NucleotideMiscChange(boolean, NucleotideMiscChangeType)
.onlyPredicted
- whether or not to set "only predicted" flagchangeType
- the NucleotideMiscChangeType
to build forNucleotideMiscChange
public static NucleotideMiscChange buildFromString(String str)
str
- String
to build fromNucleotideMiscChange
public NucleotideMiscChange withOnlyPredicted(boolean flag)
withOnlyPredicted
in class NucleotideChange
NucleotideChange
with given onlyPredicted
value.public NucleotideMiscChangeType getChangeType()
NucleotideMiscChangeType
public String toHGVSString()
ConvertibleToHGVSString
ProteinPointLocation
public int hashCode()
hashCode
in class NucleotideChange
public boolean equals(Object obj)
equals
in class NucleotideChange
Copyright © 2016. All rights reserved.