Interface EntityMetadataValidator
-
public interface EntityMetadataValidator
Federation entity metadata validator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FederationMetadataType
getType()
Returns the type of federation metadata that is validated.void
validate(EntityID entityID, net.minidev.json.JSONObject metadata)
Validates the specified metadata.
-
-
-
Method Detail
-
getType
FederationMetadataType getType()
Returns the type of federation metadata that is validated.- Returns:
- The federation metadata 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,null
if none.- Throws:
InvalidEntityMetadataException
- If validation failed.
-
-