Class DefaultConfigurationCache.CachedContextImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.Object getAny()
      Gets the value of the any property.
      protected java.util.List<Context> getCachedContext()  
      java.lang.String getComponent()
      Gets the value of the component property.
      java.util.List<Context> getContext()
      Gets the value of the context property.
      java.lang.String getMergeBy()
      Gets the value of the mergeBy property.
      Context getOriginal()
      Gets an original context that was wrapped and cached
      java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.
      java.lang.String getParent()
      Gets the value of the parent property.
      java.lang.String getPrincipal()
      Gets the value of the principal property.
      java.lang.String getType()
      Gets the value of the type property.
      int hashCode()  
      void setAny​(java.lang.Object value)
      Sets the value of the any property.
      void setComponent​(java.lang.String value)
      Sets the value of the component property.
      void setMergeBy​(java.lang.String value)
      Sets the value of the mergeBy property.
      void setParent​(java.lang.String value)
      Sets the value of the parent property.
      void setPrincipal​(java.lang.String value)
      Sets the value of the principal property.
      void setType​(java.lang.String value)
      Sets the value of the type property.
      • Methods inherited from class java.lang.Object

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

      • CachedContextImpl

        public CachedContextImpl​(Context original)
    • Method Detail

      • getOriginal

        public Context getOriginal()
        Description copied from interface: CachedContext
        Gets an original context that was wrapped and cached
        Specified by:
        getOriginal in interface CachedContext
        Returns:
        original context
      • getContext

        public java.util.List<Context> getContext()
        Description copied from class: Context
        Gets the value of the context property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the context property.

        For example, to add a new item, do as follows:

         getContext().add(newItem);
         

        Objects of the following type(s) are allowed in the list Context

        Overrides:
        getContext in class Context
      • getCachedContext

        protected java.util.List<Context> getCachedContext()
      • getAny

        public java.lang.Object getAny()
        Description copied from class: Context
        Gets the value of the any property.
        Overrides:
        getAny in class Context
        Returns:
        possible object is Object Element
      • setAny

        public void setAny​(java.lang.Object value)
        Description copied from class: Context
        Sets the value of the any property.
        Overrides:
        setAny in class Context
        Parameters:
        value - allowed object is Object Element
      • getMergeBy

        public java.lang.String getMergeBy()
        Description copied from class: Context
        Gets the value of the mergeBy property.
        Overrides:
        getMergeBy in class Context
        Returns:
        possible object is String
      • setMergeBy

        public void setMergeBy​(java.lang.String value)
        Description copied from class: Context
        Sets the value of the mergeBy property.
        Overrides:
        setMergeBy in class Context
        Parameters:
        value - allowed object is String
      • getParent

        public java.lang.String getParent()
        Description copied from class: Context
        Gets the value of the parent property.
        Overrides:
        getParent in class Context
        Returns:
        possible object is String
      • setParent

        public void setParent​(java.lang.String value)
        Description copied from class: Context
        Sets the value of the parent property.
        Overrides:
        setParent in class Context
        Parameters:
        value - allowed object is String
      • getType

        public java.lang.String getType()
        Description copied from class: Context
        Gets the value of the type property.
        Overrides:
        getType in class Context
        Returns:
        possible object is String
      • setType

        public void setType​(java.lang.String value)
        Description copied from class: Context
        Sets the value of the type property.
        Overrides:
        setType in class Context
        Parameters:
        value - allowed object is String
      • getPrincipal

        public java.lang.String getPrincipal()
        Description copied from class: Context
        Gets the value of the principal property.
        Overrides:
        getPrincipal in class Context
        Returns:
        possible object is String
      • setPrincipal

        public void setPrincipal​(java.lang.String value)
        Description copied from class: Context
        Sets the value of the principal property.
        Overrides:
        setPrincipal in class Context
        Parameters:
        value - allowed object is String
      • getComponent

        public java.lang.String getComponent()
        Description copied from class: Context
        Gets the value of the component property.
        Overrides:
        getComponent in class Context
        Returns:
        possible object is String
      • setComponent

        public void setComponent​(java.lang.String value)
        Description copied from class: Context
        Sets the value of the component property.
        Overrides:
        setComponent in class Context
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Description copied from class: Context
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Overrides:
        getOtherAttributes in class Context
        Returns:
        always non-null
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Context