com.redhat.rhn.domain.rhnpackage.profile
Class Profile

java.lang.Object
  extended by com.redhat.rhn.domain.BaseDomainHelper
      extended by com.redhat.rhn.domain.rhnpackage.profile.Profile
All Implemented Interfaces:
Identifiable

public class Profile
extends BaseDomainHelper
implements Identifiable

Profile


Constructor Summary
Profile()
          Default constructor
Profile(ProfileType type)
          Constructs a Profile of the given type.
 
Method Summary
 boolean equals(java.lang.Object other)
          
 Channel getBaseChannel()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
          Get the database id of this Object.
 java.lang.String getInfo()
           
 java.lang.String getName()
           
 Org getOrg()
           
 java.util.Set getPackageEntries()
           
 ProfileType getProfileType()
           
 int hashCode()
          
 void setBaseChannel(Channel b)
           
 void setDescription(java.lang.String d)
           
 void setId(java.lang.Long i)
           
 void setInfo(java.lang.String i)
           
 void setName(java.lang.String n)
           
 void setOrg(Org o)
           
 void setPackageEntries(java.util.Set packageEntriesIn)
           
 void setProfileType(ProfileType p)
           
 java.lang.String toString()
          
 
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, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Default constructor


Profile

public Profile(ProfileType type)
Constructs a Profile of the given type.

Parameters:
type - Type of profile desired.
Method Detail

getBaseChannel

public Channel getBaseChannel()
Returns:
Returns the baseChannel.

setBaseChannel

public void setBaseChannel(Channel b)
Parameters:
b - The baseChannel to set.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String d)
Parameters:
d - The description to set.

getId

public java.lang.Long getId()
Description copied from interface: Identifiable
Get the database id of this Object.

Specified by:
getId in interface Identifiable
Returns:
Returns the id.

setId

public void setId(java.lang.Long i)
Parameters:
i - The id to set.

getInfo

public java.lang.String getInfo()
Returns:
Returns the info.

setInfo

public void setInfo(java.lang.String i)
Parameters:
i - The info to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String n)
Parameters:
n - The name to set.

getOrg

public Org getOrg()
Returns:
Returns the org.

setOrg

public void setOrg(Org o)
Parameters:
o - The org to set.

getProfileType

public ProfileType getProfileType()
Returns:
Returns the profileType.

setProfileType

public void setProfileType(ProfileType p)
Parameters:
p - The profileType to set.

equals

public boolean equals(java.lang.Object other)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getPackageEntries

public java.util.Set getPackageEntries()
Returns:
Returns the packageEntries.

setPackageEntries

public void setPackageEntries(java.util.Set packageEntriesIn)
Parameters:
packageEntriesIn - The packageEntries to set.