Class EntityMethod

java.lang.Object
com.priint.pubserver.entity.EntityMethod
All Implemented Interfaces:
Serializable

public class EntityMethod extends Object implements Serializable
The type Entity method.
See Also:
  • Constructor Details

    • EntityMethod

      public EntityMethod()
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Method identifier is a system wide, unique name of the method. E.g. "getKeyValueListOfSubentities"
      Returns:
      the identifier
    • setIdentifier

      public void setIdentifier(String identifier)

      Throws NullArgumentException if input is null.

      Parameters:
      identifier - the identifier
    • getAnnotation

      public List<String> getAnnotation()
      Get list of method annotations.

      Defaults to an empty list.

      Returns:
      annotation annotation
    • setAnnotation

      public void setAnnotation(List<String> annotation)
      Set list of method annotations.

      Throws NullArgumentException if input is null.

      Parameters:
      annotation -
    • getParameter

      public List<KeyValue> getParameter()
      Description of the parameters to use when calling the method.
      • The KeyValue.key contains the name of the parameter.
      • The KeyValue.value contains the documentation.
      • The KeyValue.datatype contains the data type of the parameter.
      Defaults to an empty list.
      Returns:
      parameter as List of KeyValue
    • setParameter

      public void setParameter(List<KeyValue> parameter)

      Throws NullArgumentException if input is null.

      Parameters:
      parameter -
    • getDescription

      public String getDescription()

      Defaults to an empty string.

      Returns:
      description as String
    • setDescription

      public void setDescription(String description)

      Throws NullArgumentException if input is null.

      Parameters:
      description -