Interface ScriptedIdPAttribute
- All Known Implementing Classes:
BasicAttribute
,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 TypeMethodDescriptionvoid
Add the provided object to the attribute values, policing for type.getId()
Get the encapsulated attributeId.return the underlying attribute.Return all the values, but withStringAttributeValue
values returned as strings.
-
Method Details
-
getValues
Return all the values, but withStringAttributeValue
values 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
- aString
or aIdPAttributeValue
to add.- Throws:
ResolutionException
- if the provided value is of the wrong type
-