Class AdminChannel
java.lang.Object
com.elpical.jclaro.admin.ws.server.AdminChannel
- Direct Known Subclasses:
DeviceLinkChannel
,ProcessingChannel
,PurgingChannel
,RoutingChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the ChannelAttributes of the ChannelReturns the ChannelInfo for the Channel.getInput()
Returns the Inputboolean
getName()
Gets the name of the Channelint
Gets the unique id of the ChannelReturns the Outputvoid
save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel, boolean isNewChannel)
Save the Channel to the databasevoid
setChannelAttributes(ChannelAttributes channelAttributes)
Sets the ChannelAttributes of the Channelvoid
setChannelInfo(ChannelInfo channelInfo)
Sets the ChannelInfo for the Channel.void
Sets the Inputvoid
setIsNewReturnOnce(boolean newValue)
void
void
setNummer(int id)
Sets the unique id of the Channelvoid
Sets the Output
-
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
-
-
Method Details
-
getChannelInfo
Returns the ChannelInfo for the Channel.- Returns:
- The ChannelInfo for the Channel.
-
setChannelInfo
Sets the ChannelInfo for the Channel.- Parameters:
channelInfo
- The ChannelInfo for the Channel.
-
getInput
Returns the Input- Returns:
- The Input
-
setInput
Sets the Input- Parameters:
input
- The Input
-
getOutput
Returns the Output- Returns:
- The Output
-
setOutput
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
-
setChannelAttributes
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
Gets the name of the Channel- Returns:
- The name of the Channel
-
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
-