PlaceholderViewModel.validate Method
Validate the data, make sure all required fields are filled.
Return Value
Type: Number
0 --> validated
1 --> Parameter placeholder information missing
2 --> Hierarchy placeholder : There is no available hierarchy
3 --> Measure placeholder information missing