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

java.lang.Object
  extended by org.rhq.core.domain.configuration.definition.PropertyDefinition
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PropertyDefinitionDynamic, PropertyDefinitionList, PropertyDefinitionMap, PropertyDefinitionSimple

public class PropertyDefinition
extends Object
implements Serializable

Base type of the definition of a configuration property.

See Also:
Serialized Form

Constructor Summary
protected PropertyDefinition()
           
protected PropertyDefinition(String name, String description, boolean required)
           
 
Method Summary
 ActivationPolicy getActivationPolicy()
           
 ConfigurationDefinition getConfigurationDefinition()
           
 String getDescription()
           
 String getDisplayName()
           
 int getId()
           
 String getName()
           
 int getOrder()
           
 PropertyDefinitionList getParentPropertyListDefinition()
           
 PropertyDefinitionMap getParentPropertyMapDefinition()
           
 PropertyGroupDefinition getPropertyGroupDefinition()
           
 String getVersion()
           
 boolean isReadOnly()
           
 boolean isRequired()
           
 boolean isSummary()
           
 void setActivationPolicy(ActivationPolicy activationPolicy)
           
 void setConfigurationDefinition(ConfigurationDefinition configurationDefinition)
           
 void setDescription(String description)
           
 void setDisplayName(String displayName)
           
 void setId(int id)
           
 void setName(String name)
           
 void setOrder(int order)
           
 void setParentPropertyListDefinition(PropertyDefinitionList parentPropertyListDefinition)
           
 void setParentPropertyMapDefinition(PropertyDefinitionMap parentPropertyMapDefinition)
           
 void setPropertyGroupDefinition(PropertyGroupDefinition propertyGroupDefinition)
           
 void setReadOnly(boolean readOnly)
           
 void setRequired(boolean required)
           
 void setSummary(boolean summary)
           
 void setVersion(String version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDefinition

protected PropertyDefinition()

PropertyDefinition

protected PropertyDefinition(@NotNull
                             String name,
                             String description,
                             boolean required)
Method Detail

getParentPropertyMapDefinition

public PropertyDefinitionMap getParentPropertyMapDefinition()

setParentPropertyMapDefinition

public void setParentPropertyMapDefinition(PropertyDefinitionMap parentPropertyMapDefinition)

getParentPropertyListDefinition

public PropertyDefinitionList getParentPropertyListDefinition()

setParentPropertyListDefinition

public void setParentPropertyListDefinition(PropertyDefinitionList parentPropertyListDefinition)

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)

isRequired

public boolean isRequired()

setRequired

public void setRequired(boolean required)

isReadOnly

public boolean isReadOnly()

setReadOnly

public void setReadOnly(boolean readOnly)

isSummary

public boolean isSummary()

setSummary

public void setSummary(boolean summary)

getActivationPolicy

public ActivationPolicy getActivationPolicy()

setActivationPolicy

public void setActivationPolicy(ActivationPolicy activationPolicy)

getPropertyGroupDefinition

public PropertyGroupDefinition getPropertyGroupDefinition()

setPropertyGroupDefinition

public void setPropertyGroupDefinition(PropertyGroupDefinition propertyGroupDefinition)

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getConfigurationDefinition

public ConfigurationDefinition getConfigurationDefinition()

setConfigurationDefinition

public void setConfigurationDefinition(ConfigurationDefinition configurationDefinition)

toString

public String toString()
Overrides:
toString in class Object


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