public class Channel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Channel.Builder
Builder class to aid in a construction of a channel.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
Returns the Name of the channel.
|
String |
getOwner()
Returns the owner of this channel.
|
Collection<Property> |
getProperties()
Returns a list of all the
Propertys associated with this channel. |
Property |
getProperty(String propertyName)
Returns the
Property with the name = propertyName if present on
this channel else null if no property with given name found. |
Collection<String> |
getPropertyNames()
Returns a Collection of names of all the properties associated with this channel.
|
Tag |
getTag(String tagName)
Returns the tag with name = tagName is present on this channel else
returns null
|
Collection<String> |
getTagNames()
Returns a collection of all the names of the tags present on this channel.
|
Collection<Tag> |
getTags()
Returns a list of
Tags associated with this channel. |
int |
hashCode() |
String |
toString() |
public String getName()
public String getOwner()
public Collection<Tag> getTags()
Tags associated with this channel.Tag or null is no properties are present.public Tag getTag(String tagName)
tagName - - tag nameTag with name=tagName else null is tag with same name not
presentpublic Collection<String> getTagNames()
public Collection<Property> getProperties()
Propertys associated with this channel.Property or null if no properties present.public Property getProperty(String propertyName)
Property with the name = propertyName if present on
this channel else null if no property with given name found.propertyName - - name of the propertyProperty or null if property with name=propertyName not
found.public Collection<String> getPropertyNames()
Copyright © 2016. All Rights Reserved.