public class Channel extends Object
Element of ChannelPlan
Sub-Element is ChannelFreq
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equals is based upon the channel frequency set.
|
Set<ChannelFreq> |
getChannelFreq()
Get one frequency in the channel plan..
|
S50 |
getName()
Get the name of this channel (e.g., "Video carrier, Sound carrier, Nicam
Sound carrier")..
|
S50 |
getUser()
Get a specific user of this channel in the channel plan..
|
int |
hashCode()
Hash code is based upon the channel frequency set.
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetChannelFreq()
Determine if the ChannelFreq is configured.
|
boolean |
isSetName()
Determine if the Name is configured.
|
boolean |
isSetUser()
Determine if the User is configured.
|
void |
setName(S50 value)
Set the name of this channel (e.g., "Video carrier, Sound carrier, Nicam
Sound carrier")..
|
void |
setUser(S50 value)
Set a specific user of this channel in the channel plan..
|
String |
toString()
Get a string representation of this Channel instance configuration.
|
void |
unsetChannelFreq()
Clear the ChannelFreq field.
|
Channel |
withChannelFreq(ChannelFreq... values)
Set one frequency in the channel plan.
|
Channel |
withChannelFreq(Collection<ChannelFreq> values)
Set one frequency in the channel plan.
|
Channel |
withName(String value)
Set the name of this channel (e.g., "Video carrier, Sound carrier, Nicam
Sound carrier").
|
Channel |
withUser(String value)
Set a specific user of this channel in the channel plan.
|
public S50 getName()
S50
instancepublic void setName(S50 value)
value
- a S50
instancepublic boolean isSetName()
public S50 getUser()
S50
instancepublic void setUser(S50 value)
value
- a S50
instancepublic boolean isSetUser()
public Set<ChannelFreq> getChannelFreq()
ChannelFreq
instancepublic boolean isSetChannelFreq()
public void unsetChannelFreq()
public Channel withName(String value)
value
- An instances of type String
.public Channel withUser(String value)
value
- An instances of type String
.public Channel withChannelFreq(ChannelFreq... values)
values
- One or more instances of type ChannelFreq...
.public Channel withChannelFreq(Collection<ChannelFreq> values)
values
- A collection of ChannelFreq
instancespublic String toString()
public boolean isSet()
Channel
has no configuration requirements.
public int hashCode()
Copyright © 2016 OpenSSRF.org. All rights reserved.