com.bea.content.cmis.rest.converters
Class BinaryPropertyHelper

Helper methods to consistently identify the one binary property exposed via cmis.
The binary property is:
The primary property, if that property is of type BINARY.
Else, the first property definition with type BINARY.
If there is no BINARY primary property and the first property found of type BINARY is null,
then that is what is returned (it does not try to find the next BINARY property that is not null).
If dealing w/ CMIS REST binaries, it is suggested to set expected BINARY property as primary on the node.