Class DAG.AnnotatableObject

  • Direct Known Subclasses:
    DAG.Edge, DAG.Vertex
    Enclosing class:
    DAG

    public abstract static class DAG.AnnotatableObject
    extends java.lang.Object
    This is a simple object which can be "annotated" with caller-specified properties. Classes which are "annotatable" include:
    • DAG.Vertex
    • DAG.Edge
    Since:
    MicroStrategy Web 9.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getProperty​(java.lang.String propName)
      Get a caller-specified property.
      void setProperty​(java.lang.String propName, java.lang.Object data)
      Sets a caller-specified property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotatableObject

        public AnnotatableObject()
    • Method Detail

      • getProperty

        public java.lang.Object getProperty​(java.lang.String propName)
        Get a caller-specified property.
        Parameters:
        propName - The name of the property.
        Returns:
        The value of the property.
      • setProperty

        public void setProperty​(java.lang.String propName,
                                java.lang.Object data)
        Sets a caller-specified property.
        Parameters:
        propName - The name of the property.
        data - The value of the property.