Class AdminChannel

java.lang.Object
com.elpical.jclaro.admin.ws.server.AdminChannel
Direct Known Subclasses:
DeviceLinkChannel, ProcessingChannel, PurgingChannel, RoutingChannel

public class AdminChannel extends Object
  • Constructor Details

    • AdminChannel

      public AdminChannel()
      Creates a default AdminChannel with ChannelAttributes, default ChannelInfo, Input and Output. If created from a subclass (via super()) the correct ChannelAttributes for the type of Channel are created.
    • AdminChannel

      public AdminChannel(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel, HashMap<String,​HashMap<String,​String>> mapChannel)
  • Method Details

    • getChannelInfo

      public ChannelInfo getChannelInfo()
      Returns the ChannelInfo for the Channel.
      Returns:
      The ChannelInfo for the Channel.
    • setChannelInfo

      public void setChannelInfo(ChannelInfo channelInfo)
      Sets the ChannelInfo for the Channel.
      Parameters:
      channelInfo - The ChannelInfo for the Channel.
    • getInput

      public Input getInput()
      Returns the Input
      Returns:
      The Input
    • setInput

      public void setInput(Input input)
      Sets the Input
      Parameters:
      input - The Input
    • getOutput

      public Output getOutput()
      Returns the Output
      Returns:
      The Output
    • setOutput

      public void setOutput(Output output)
      Sets the Output
      Parameters:
      output - The Output
    • setNummer

      public void setNummer(int id)
      Sets the unique id of the Channel
      Parameters:
      id - Unique id of the Channel
    • setName

      public void setName(String name)
    • setChannelAttributes

      public void setChannelAttributes(ChannelAttributes channelAttributes)
      Sets the ChannelAttributes of the Channel
      Parameters:
      channelAttributes - The ChannelAttributes of the Channel
    • getNummer

      public int getNummer()
      Gets the unique id of the Channel
      Returns:
      The unique id of the Channel
    • getName

      public String getName()
      Gets the name of the Channel
      Returns:
      The name of the Channel
    • getChannelAttributes

      public ChannelAttributes getChannelAttributes()
      Gets the ChannelAttributes of the Channel
      Returns:
      The ChannelAttributes of the Channel
    • getIsNewReturnOnce

      public boolean getIsNewReturnOnce()
    • setIsNewReturnOnce

      public void setIsNewReturnOnce(boolean newValue)
    • save

      public void save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel, boolean isNewChannel)
      Save the Channel to the database