Class LazyContextElement

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<? extends java.lang.String,​AttributeGetter<java.lang.Object>> attributes  
      private java.lang.Class<?> identifier  
    • Constructor Summary

      Constructors 
      Constructor Description
      LazyContextElement​(java.lang.Class<?> identifier, java.util.Map<? extends java.lang.String,​AttributeGetter<java.lang.Object>> attributes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> attributes()
      The set of attributes for the associated Java object.
      java.lang.Class<?> identifier()
      The type of the associated Java object.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • identifier

        private final java.lang.Class<?> identifier
      • attributes

        private final java.util.Map<? extends java.lang.String,​AttributeGetter<java.lang.Object>> attributes
    • Constructor Detail

      • LazyContextElement

        public LazyContextElement​(java.lang.Class<?> identifier,
                                  java.util.Map<? extends java.lang.String,​AttributeGetter<java.lang.Object>> attributes)
    • Method Detail

      • identifier

        public java.lang.Class<?> identifier()
        Description copied from interface: ContextElement
        The type of the associated Java object.
        Specified by:
        identifier in interface ContextElement
        Returns:
        the associated object's class
      • attributes

        public java.util.Map<java.lang.String,​java.lang.Object> attributes()
        Description copied from interface: ContextElement
        The set of attributes for the associated Java object.
        Specified by:
        attributes in interface ContextElement
        Returns:
        the associated object's attributes
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object