public interface PayloadAttributeInfo
Modifier and Type | Method and Description |
---|---|
<T> java.lang.String |
convert(T value)
Translates an object value to a string value
|
PayloadItemCardinality |
getCardinality()
gets the cardinality for this payload item
|
java.lang.String |
getName()
accessor gets the name of the attribute
|
java.lang.String |
getNetworkField()
method returns the network field from which this PayloadItem is populated.
|
java.lang.String |
getNetworkField5g()
method returns the network field from which this PayloadItem is populated.
|
java.lang.String |
getPersistenceField()
Returns the table or column name associated with this block
|
java.lang.String |
getPersistenceField5g()
Returns the table or column name associated with this block
|
java.lang.Class |
getType()
Method used to get the Type of the PayloadItem.
|
<T> T |
getValue()
Method return the current value on the PayloadItem.
|
boolean |
isOptional()
method checks if this PayloadItem is optional or mandatory within the Payload.
|
boolean |
isPrimaryPersistenceField()
Returns the indicator for primary or non-primary persistence field
|
<T> T |
translateValue(java.lang.String value)
Translates a string value to an object value
Used in pricing updater to convert a default value received in String format
from BCC/Pdc to an object value compatible with the appropriate subclass of PayloadItem
Only applicable for fields, not blocks
|
java.lang.String getName()
java.lang.Class getType()
<T> T getValue()
T
- the expected type of the PayloadItemPayloadItemCardinality getCardinality()
boolean isOptional()
java.lang.String getNetworkField()
java.lang.String getNetworkField5g()
java.lang.String getPersistenceField()
java.lang.String getPersistenceField5g()
boolean isPrimaryPersistenceField()
<T> T translateValue(java.lang.String value)
T
- value
- <T> java.lang.String convert(T value)
T
- value
-