|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.redhat.rhn.domain.BaseDomainHelper
com.redhat.rhn.domain.config.ConfigChannelType
public class ConfigChannelType
ConfigChannelType - Class representation of the table rhnConfigChannelType.
| Field Summary | |
|---|---|
static java.lang.String |
LOCAL
|
static java.lang.String |
NORMAL
|
static java.lang.String |
SANDBOX
|
| Constructor Summary | |
|---|---|
protected |
ConfigChannelType()
protected constructor. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object arg)
|
java.lang.Long |
getId()
Getter for id |
java.lang.String |
getLabel()
Getter for label |
java.lang.String |
getName()
Getter for name |
java.lang.Long |
getPriority()
Getter for priority |
static ConfigChannelType |
global()
|
int |
hashCode()
|
static ConfigChannelType |
local()
|
static ConfigChannelType |
lookup(java.lang.String type)
Given a channel type label it returns the associated channel type |
static ConfigChannelType |
sandbox()
|
void |
setId(java.lang.Long idIn)
Setter for id |
void |
setLabel(java.lang.String labelIn)
Setter for label |
void |
setName(java.lang.String nameIn)
Setter for name |
void |
setPriority(java.lang.Long priorityIn)
Setter for priority |
| Methods inherited from class com.redhat.rhn.domain.BaseDomainHelper |
|---|
getCreated, getModified, setCreated, setModified |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NORMAL
public static final java.lang.String LOCAL
public static final java.lang.String SANDBOX
| Constructor Detail |
|---|
protected ConfigChannelType()
| Method Detail |
|---|
public static ConfigChannelType sandbox()
public static ConfigChannelType local()
public static ConfigChannelType global()
public static ConfigChannelType lookup(java.lang.String type)
type - the channel type label
public java.lang.Long getId()
public void setId(java.lang.Long idIn)
idIn - to setpublic java.lang.String getLabel()
public void setLabel(java.lang.String labelIn)
labelIn - to setpublic java.lang.String getName()
public void setName(java.lang.String nameIn)
nameIn - to setpublic java.lang.Long getPriority()
public void setPriority(java.lang.Long priorityIn)
priorityIn - to setpublic boolean equals(java.lang.Object arg)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||