org.rhq.core.domain.configuration.definition
Class PropertyGroupDefinition

java.lang.Object
  extended by org.rhq.core.domain.configuration.definition.PropertyGroupDefinition
All Implemented Interfaces:
Serializable

public class PropertyGroupDefinition
extends Object
implements Serializable

I made this an attribute instead of a content holder because I didn't want to complicate the access procedures for a property definition. Imagine having to look through each group to find the property your trying to validate.

See Also:
Serialized Form

Constructor Summary
protected PropertyGroupDefinition()
           
  PropertyGroupDefinition(String name)
           
 
Method Summary
 boolean equals(Object o)
          Two groups are the same if they have the identical object references or names.
 String getDescription()
           
 String getDisplayName()
           
 int getId()
           
 String getName()
           
 int getOrder()
           
 int hashCode()
           
 boolean isDefaultHidden()
           
 void setDefaultHidden(boolean defaultHidden)
           
 void setDescription(String description)
           
 void setDisplayName(String displayName)
           
 void setId(int id)
           
 void setName(String name)
           
 void setOrder(int order)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyGroupDefinition

protected PropertyGroupDefinition()

PropertyGroupDefinition

public PropertyGroupDefinition(@NotNull
                               String name)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

@NotNull
public String getName()

setName

public void setName(@NotNull
                    String name)

getDisplayName

@NotNull
public String getDisplayName()

setDisplayName

public void setDisplayName(String displayName)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

isDefaultHidden

public boolean isDefaultHidden()

setDefaultHidden

public void setDefaultHidden(boolean defaultHidden)

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Two groups are the same if they have the identical object references or names.

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.