@Component public class BusinessObjectDataAttributeHelper extends Object
| Constructor and Description |
|---|
BusinessObjectDataAttributeHelper() |
| Modifier and Type | Method and Description |
|---|---|
BusinessObjectDataAttributeKey |
getBusinessObjectDataAttributeKey(BusinessObjectDataKey businessObjectDataKey,
String businessObjectDataAttributeName)
Returns a business object data attribute key built per specified parameters.
|
boolean |
isBusinessObjectDataAttributeRequired(String businessObjectAttributeName,
BusinessObjectFormatEntity businessObjectFormatEntity)
Determines if the specified business object data attribute is a required attribute or not.
|
void |
validateBusinessObjectDataAttributeKey(BusinessObjectDataAttributeKey key)
Validates the business object data attribute key.
|
public BusinessObjectDataAttributeKey getBusinessObjectDataAttributeKey(BusinessObjectDataKey businessObjectDataKey, String businessObjectDataAttributeName)
businessObjectDataKey - the business object data keybusinessObjectDataAttributeName - the name of the business object data attributepublic boolean isBusinessObjectDataAttributeRequired(String businessObjectAttributeName, BusinessObjectFormatEntity businessObjectFormatEntity)
businessObjectAttributeName - the name of the business object attributebusinessObjectFormatEntity - the business object format entitypublic void validateBusinessObjectDataAttributeKey(BusinessObjectDataAttributeKey key) throws IllegalArgumentException
key - the business object data attribute keyIllegalArgumentException - if any validation errors were foundCopyright © 2021. All rights reserved.