Interface EntityMetadataValidator
-
public interface EntityMetadataValidator
Federation entity metadata validator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityTypegetType()Returns the entity type of the metadata that is validated.voidvalidate(EntityID entityID, net.minidev.json.JSONObject metadata)Validates the specified metadata.
-
-
-
Method Detail
-
getType
EntityType 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.
-
-