Class

org.clulab.reach.assembly.representations

SimpleEntity

Related Doc: package representations

Permalink

class SimpleEntity extends Entity

A SimpleEntity representation of a Mention of a Protein, GGP, Simple_chemical, etc. (see the children of "Entity" in the taxonomy)

Linear Supertypes
Entity, EntityEventRepresentation, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleEntity
  2. Entity
  3. EntityEventRepresentation
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleEntity(uniqueID: IDPointer, grounding: GroundingID, modifications: Set[AssemblyModification], sourceMention: Option[Mention], manager: AssemblyManager)

    Permalink

    uniqueID

    IDPointer assigned to this SimpleEntity by the AssemblyManager

    grounding

    GroundingID for the SimpleEntity

    modifications

    a Set of AssemblyModification, such as representations.PTM and EntityLabel.
    These are relevant to the identity of the SimpleEntity and describe its state (ex. Phosphorylated @ Ser123).

    sourceMention

    the Mention from which this SimpleEntity was constructed

    manager

    a pointer to the AssemblyManager instance that produced this SimpleEntity

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def containsID(someID: IDPointer): Boolean

    Permalink

    Whether or not the SimpleEntity contains the provided IDPointer.

    Whether or not the SimpleEntity contains the provided IDPointer.

    someID

    an IDPointer identifying some EntityEventRepresentation

    returns

    true or false

    Definition Classes
    SimpleEntityEntityEventRepresentation
  7. def coref: Boolean

    Permalink

    Whether or not the EntityEventRepresentation was produced by a Mention resolved through coref.

    Whether or not the EntityEventRepresentation was produced by a Mention resolved through coref.

    returns

    true or false

    Definition Classes
    EntityEventRepresentation
  8. val eerString: String

    Permalink
    Definition Classes
    SimpleEntityEntityEntityEventRepresentation
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def equivalenceHash: Int

    Permalink

    Used by isEquivalentTo to compare against another SimpleEntity.

    Used by isEquivalentTo to compare against another SimpleEntity.

    returns

    a hash (Int) based primarily on the grounding and modsHash

    Definition Classes
    SimpleEntityEntityEventRepresentation
  12. def evidence: Set[Mention]

    Permalink

    The Set of Mentions serving as textual evidence for this EntityEventRepresentation.

    The Set of Mentions serving as textual evidence for this EntityEventRepresentation.

    returns

    Set[Mention]

    Definition Classes
    EntityEventRepresentation
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getPTMs(label: String): Set[PTM]

    Permalink

    Returns the Set of representations.PTM contained in modifications matching the given label.

    Returns the Set of representations.PTM contained in modifications matching the given label.

    label

    the label used to filter representations.PTM

  16. def getPTMs: Set[PTM]

    Permalink

    Returns the Set of representations.PTM contained in modifications.

  17. val grounding: GroundingID

    Permalink

    GroundingID for the SimpleEntity

  18. def hasCorefResolution(m: Mention): Boolean

    Permalink

    Checks to see if a coref mention has an antecedent.

    Checks to see if a coref mention has an antecedent.

    If the mentions made it through the coref component of reach, the only mentions that might have an antecedent should be those with a "Generic_*"
    this is just a broader, fail-safe check...

    m

    an Odin Mention

    returns

    true if cm has an antecedent; false otherwise

    Definition Classes
    EntityEventRepresentation
  19. def hasNegation(m: Mention): Boolean

    Permalink

    Checks whether evidence contains a Negation modification

    Checks whether evidence contains a Negation modification

    m

    an Odin Mention

    returns

    true or false

    Definition Classes
    EntityEventRepresentation
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def isEquivalentTo(other: Any): Boolean

    Permalink

    Used to compare against another SimpleEntity.

    Used to compare against another SimpleEntity.
    Based on the equality of equivalenceHash to that of another SimpleEntity.

    other

    the thing to compare against

    returns

    true or false

    Definition Classes
    SimpleEntityEntityEventRepresentation
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val manager: AssemblyManager

    Permalink

    a pointer to the AssemblyManager instance that produced this SimpleEntity

    a pointer to the AssemblyManager instance that produced this SimpleEntity

    Definition Classes
    SimpleEntityEntityEventRepresentation
  24. val modifications: Set[AssemblyModification]

    Permalink

    a Set of AssemblyModification, such as representations.PTM and EntityLabel.

    a Set of AssemblyModification, such as representations.PTM and EntityLabel.
    These are relevant to the identity of the SimpleEntity and describe its state (ex. Phosphorylated @ Ser123).

  25. def modsHash: Int

    Permalink

    Hash representing the modifications.

    Hash representing the modifications.
    Used by equivalenceHash for isEquivalentTo comparisons.

    returns

    an Int hash based on the hashcodes of the modifications

  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def negated: Boolean

    Permalink

    Check if SimpleEvent is negated

    Check if SimpleEvent is negated

    returns

    true or false

    Definition Classes
    SimpleEntityEntityEventRepresentation
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. val sourceMention: Option[Mention]

    Permalink

    the Mention from which this SimpleEntity was constructed

    the Mention from which this SimpleEntity was constructed

    Definition Classes
    SimpleEntityEntityEventRepresentation
  31. def summarize: String

    Permalink

    Summary making use of grounding, modifications, coref, and manager.

    Summary making use of grounding, modifications, coref, and manager.

    returns

    a String summary of the SimpleEntity

    Definition Classes
    SimpleEntityEntity
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. val uniqueID: IDPointer

    Permalink

    IDPointer assigned to this SimpleEntity by the AssemblyManager

    IDPointer assigned to this SimpleEntity by the AssemblyManager

    Definition Classes
    SimpleEntityEntityEventRepresentation
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withSameGrounding: Set[SimpleEntity]

    Permalink

    Find SimpleEntities with simple same grounding

Inherited from Entity

Inherited from EntityEventRepresentation

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped