Package org.opencms.ade.configuration
Class CmsADEConfigDataInternal.AttributeValue
- java.lang.Object
-
- org.opencms.ade.configuration.CmsADEConfigDataInternal.AttributeValue
-
- Enclosing class:
- CmsADEConfigDataInternal
public static class CmsADEConfigDataInternal.AttributeValue extends java.lang.Object
Represents the value of an attribute, with additional information about where the value originated from.
-
-
Constructor Summary
Constructors Constructor Description AttributeValue(java.lang.String value, java.lang.String origin)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOrigin()
Gets the origin path.java.lang.String
getValue()
Gets the attribute string value.java.lang.String
toString()
-
-
-
Constructor Detail
-
AttributeValue
public AttributeValue(java.lang.String value, java.lang.String origin)
Creates a new instance.- Parameters:
value
- the attribute valueorigin
- the origin path
-
-
Method Detail
-
getOrigin
public java.lang.String getOrigin()
Gets the origin path.- Returns:
- the origin path
-
getValue
public java.lang.String getValue()
Gets the attribute string value.- Returns:
- the attribute value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-