Interface ScriptedIdPAttribute
- All Known Implementing Classes:
ScriptedIdPAttributeImpl
public interface ScriptedIdPAttribute
This is the API which is available to ECMAScripted attributes. This API is not targetted at JAVA users.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the provided object to the attribute values, policing for type.getId()Get the encapsulated attributeId.return the underlying attribute.Return all the values, but withStringAttributeValuevalues returned as strings.
-
Method Details
-
getValues
Return all the values, but withStringAttributeValuevalues returned as strings.- Returns:
- a modifiable collection of the string attributes
- Throws:
ResolutionException- if the script has calledgetNativeAttribute()
-
getNativeAttribute
return the underlying attribute.- Returns:
- the attribute
- Throws:
ResolutionException- if the script has called getValues.
-
getId
Get the encapsulated attributeId.- Returns:
- the id
-
addValue
Add the provided object to the attribute values, policing for type.- Parameters:
what- aStringor aIdPAttributeValueto add.- Throws:
ResolutionException- if the provided value is of the wrong type
-