Interface EntityMetadataValidator
public interface EntityMetadataValidator
Federation entity metadata validator.
-
Method Summary
Modifier and TypeMethodDescriptiongetType()Returns the entity type of the metadata that is validated.voidValidates the specified metadata.
-
Method Details
-
getType
Returns the entity type of the metadata that is validated.- Returns:
- The federation entity type.
-
validate
void validate(EntityID entityID, net.minidev.json.JSONObject metadata) throws InvalidEntityMetadataException Validates the specified metadata.- Parameters:
entityID- The entity ID.metadata- The metadata,nullif none.- Throws:
InvalidEntityMetadataException- If validation failed.
-