Package com.priint.pubserver.entity
Class EntityMethodCall
- java.lang.Object
-
- com.priint.pubserver.entity.EntityMethodCall
-
- All Implemented Interfaces:
java.io.Serializable
public class EntityMethodCall extends java.lang.Object implements java.io.SerializableThe type Entity method call.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EntityMethodCall()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Get the description.EntityModelgetEntityModel()Get the referenced entity model.java.lang.StringgetMethod()Get the method name as string.java.util.List<KeyValue>getParameter()Get the list of parameters.voidsetDescription(java.lang.String description)Set the description.voidsetEntityModel(EntityModel entityModel)Set the referenced entity model.voidsetMethod(java.lang.String method)Set the method name as string.voidsetParameter(java.util.List<KeyValue> parameter)Set the list of parameters.
-
-
-
Method Detail
-
getMethod
public java.lang.String getMethod()
Get the method name as string.Defaults to an empty string.
- Returns:
- the method name
-
setMethod
public void setMethod(java.lang.String method)
Set the method name as string.Throws NullArgumentException if input is
null.- Parameters:
method- name
-
getEntityModel
public EntityModel getEntityModel()
Get the referenced entity model.Defaults to an empty model.
- Returns:
EntityModel
-
setEntityModel
public void setEntityModel(EntityModel entityModel)
Set the referenced entity model.Throws NullArgumentException if input is
null.- Parameters:
entityModel-
-
getParameter
public java.util.List<KeyValue> getParameter()
Get the list of parameters.Defaults to an empty list.
- Returns:
- parameter as List of
KeyValue
-
setParameter
public void setParameter(java.util.List<KeyValue> parameter)
Set the list of parameters.Throws NullArgumentException if input is
null- Parameters:
parameter-
-
getDescription
public java.lang.String getDescription()
Get the description.Defaults to an empty string.
- Returns:
- description as String
-
setDescription
public void setDescription(java.lang.String description)
Set the description.Throws NullArgumentException if input is
null.- Parameters:
description-
-
-