Class DefaultConfigurationCache.CachedContextImpl
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.jaxb.Context
-
- com.hybris.cockpitng.core.config.impl.cache.DefaultConfigurationCache.CachedContextImpl
-
- All Implemented Interfaces:
CachedContext
- Enclosing class:
- DefaultConfigurationCache
protected class DefaultConfigurationCache.CachedContextImpl extends Context implements CachedContext
-
-
Constructor Summary
Constructors Constructor Description CachedContextImpl(Context original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.ObjectgetAny()Gets the value of the any property.protected java.util.List<Context>getCachedContext()java.lang.StringgetComponent()Gets the value of the component property.java.util.List<Context>getContext()Gets the value of the context property.java.lang.StringgetMergeBy()Gets the value of the mergeBy property.ContextgetOriginal()Gets an original context that was wrapped and cachedjava.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.StringgetParent()Gets the value of the parent property.java.lang.StringgetPrincipal()Gets the value of the principal property.java.lang.StringgetType()Gets the value of the type property.inthashCode()voidsetAny(java.lang.Object value)Sets the value of the any property.voidsetComponent(java.lang.String value)Sets the value of the component property.voidsetMergeBy(java.lang.String value)Sets the value of the mergeBy property.voidsetParent(java.lang.String value)Sets the value of the parent property.voidsetPrincipal(java.lang.String value)Sets the value of the principal property.voidsetType(java.lang.String value)Sets the value of the type property.-
Methods inherited from class com.hybris.cockpitng.core.config.impl.jaxb.Context
afterUnmarshal, getParentContext, setParentContext
-
-
-
-
Constructor Detail
-
CachedContextImpl
public CachedContextImpl(Context original)
-
-
Method Detail
-
getOriginal
public Context getOriginal()
Description copied from interface:CachedContextGets an original context that was wrapped and cached- Specified by:
getOriginalin interfaceCachedContext- Returns:
- original context
-
getContext
public java.util.List<Context> getContext()
Description copied from class:ContextGets 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
setmethod 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:
getContextin classContext
-
getCachedContext
protected java.util.List<Context> getCachedContext()
-
getAny
public java.lang.Object getAny()
Description copied from class:ContextGets the value of the any property.
-
setAny
public void setAny(java.lang.Object value)
Description copied from class:ContextSets the value of the any property.
-
getMergeBy
public java.lang.String getMergeBy()
Description copied from class:ContextGets the value of the mergeBy property.- Overrides:
getMergeByin classContext- Returns:
- possible object is
String
-
setMergeBy
public void setMergeBy(java.lang.String value)
Description copied from class:ContextSets the value of the mergeBy property.- Overrides:
setMergeByin classContext- Parameters:
value- allowed object isString
-
getParent
public java.lang.String getParent()
Description copied from class:ContextGets the value of the parent property.
-
setParent
public void setParent(java.lang.String value)
Description copied from class:ContextSets the value of the parent property.
-
getType
public java.lang.String getType()
Description copied from class:ContextGets the value of the type property.
-
setType
public void setType(java.lang.String value)
Description copied from class:ContextSets the value of the type property.
-
getPrincipal
public java.lang.String getPrincipal()
Description copied from class:ContextGets the value of the principal property.- Overrides:
getPrincipalin classContext- Returns:
- possible object is
String
-
setPrincipal
public void setPrincipal(java.lang.String value)
Description copied from class:ContextSets the value of the principal property.- Overrides:
setPrincipalin classContext- Parameters:
value- allowed object isString
-
getComponent
public java.lang.String getComponent()
Description copied from class:ContextGets the value of the component property.- Overrides:
getComponentin classContext- Returns:
- possible object is
String
-
setComponent
public void setComponent(java.lang.String value)
Description copied from class:ContextSets the value of the component property.- Overrides:
setComponentin classContext- Parameters:
value- allowed object isString
-
getOtherAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Description copied from class:ContextGets 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:
getOtherAttributesin classContext- Returns:
- always non-null
-
-