Class DefaultQualifiedElement<T>
java.lang.Object
de.iip_ecosphere.platform.transport.serialization.DefaultQualifiedElement<T>
- Type Parameters:
T- the element type
- All Implemented Interfaces:
QualifiedElement<T>
A simple, beans-based default implementation of
QualifiedElement.- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the actual qualifier of the element.getValue()Returns the value.voidsetQualifier(String qualifier) Changes the actual qualifier of the element.voidSets the value.
-
Field Details
-
value
-
qualifier
-
-
Constructor Details
-
DefaultQualifiedElement
public DefaultQualifiedElement()
-
-
Method Details
-
getValue
Description copied from interface:QualifiedElementReturns the value.- Specified by:
getValuein interfaceQualifiedElement<T>- Returns:
- the value
-
setValue
Description copied from interface:QualifiedElementSets the value.- Specified by:
setValuein interfaceQualifiedElement<T>- Parameters:
value- the value
-
getQualifier
Description copied from interface:QualifiedElementReturns the actual qualifier of the element. A qualifier may be a semantic id.- Specified by:
getQualifierin interfaceQualifiedElement<T>- Returns:
- the qualifier, may be null for none
-
setQualifier
Description copied from interface:QualifiedElementChanges the actual qualifier of the element. A qualifier may be a semantic id.- Specified by:
setQualifierin interfaceQualifiedElement<T>- Parameters:
qualifier- the qualifier, may be null for none
-