Package com.priint.pubserver.entity
Class EntityMethodCall
java.lang.Object
com.priint.pubserver.entity.EntityMethodCall
- All Implemented Interfaces:
Serializable
The type Entity method call.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description.Get the referenced entity model.Get the method name as string.Get the list of parameters.voidsetDescription(String description) Set the description.voidsetEntityModel(EntityModel entityModel) Set the referenced entity model.voidSet the method name as string.voidsetParameter(List<KeyValue> parameter) Set the list of parameters.
-
Constructor Details
-
EntityMethodCall
public EntityMethodCall()
-
-
Method Details
-
getMethod
Get the method name as string.Defaults to an empty string.
- Returns:
- the method name
-
setMethod
Set the method name as string.Throws NullArgumentException if input is
null.- Parameters:
method- name
-
getEntityModel
Get the referenced entity model.Defaults to an empty model.
- Returns:
EntityModel
-
setEntityModel
Set the referenced entity model.Throws NullArgumentException if input is
null.- Parameters:
entityModel-
-
getParameter
Get the list of parameters.Defaults to an empty list.
- Returns:
- parameter as List of
KeyValue
-
setParameter
Set the list of parameters.Throws NullArgumentException if input is
null- Parameters:
parameter-
-
getDescription
Get the description.Defaults to an empty string.
- Returns:
- description as String
-
setDescription
Set the description.Throws NullArgumentException if input is
null.- Parameters:
description-
-