| Constructor and Description |
|---|
DynamicStructType()
Constructor.
|
DynamicStructType(List<com.vmware.vapi.internal.data.ConstraintValidator> validators) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TypeVisitor visitor)
Accepts a type visitor and dispatches to the appropriate visitor method,
depending on class of the individual type.
|
void |
validate(StructValue structValue,
com.vmware.vapi.internal.bindings.TypeConverter converter)
Enforces all static (defined in the IDL) or dynamic constrains defined
over this structure.
|
public DynamicStructType()
public DynamicStructType(List<com.vmware.vapi.internal.data.ConstraintValidator> validators)
validators - validators for constraints defined for in this
DynamicStructType. must not be null.public void accept(TypeVisitor visitor)
Typepublic void validate(StructValue structValue, com.vmware.vapi.internal.bindings.TypeConverter converter)
structValue - struct value to validate; cannot be nullconverter - preferred converter to be used for validation purposes;
may be null in which case default one will be usedCoreException - if the constraint is not satisfiedCopyright © 2022. All rights reserved.