Class Service

java.lang.Object
com.almis.awe.model.entities.services.Service
All Implemented Interfaces:
Copyable, XMLNode, Serializable

public class Service extends Object implements XMLNode, Copyable
Service Class Used to parse the tag 'service' in file Services.xml with XStream This file contains the list of application service
Author:
Pablo GARCIA - 25/JUN/2010
See Also:
  • Constructor Details

    • Service

      public Service()
  • Method Details

    • getType

      public ServiceType getType()
      Returns the defined service
      Returns:
      Defined service
    • setType

      public void setType(ServiceType type)
      Stores the defined service
      Parameters:
      type - service type
    • getElementKey

      public String getElementKey()
      Specified by:
      getElementKey in interface XMLNode
      Returns:
      the elementKey
    • copy

      public Service copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Specified by:
      copy in interface Copyable
      Returns:
      element copy