Class FeatureGroup


  • public class FeatureGroup
    extends java.lang.Object
    This class represents business objects feature group
    • Constructor Summary

      Constructors 
      Constructor Description
      FeatureGroup()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFeature​(Right right)
      Add a feature to the group
      java.lang.String getDescription()
      Returns the description of this feature group.
      java.lang.String getDescriptionKey()
      Returns the description of this feature group.
      java.util.Collection<Right> getFeatures()
      Returns all features affected to the group
      java.lang.String getIcon()
      Returns the icon of this feature group.
      java.lang.String getId()
      Returns the identifier of this feature group
      java.lang.String getLabel()
      Returns the label of this feature group.
      java.lang.String getLabelKey()
      Returns the label of this feature group.
      int getOrder()
      Returns the order of this feature group.
      ReferenceItem getReferenceItem()
      Returns a reference item for the feature group
      boolean isEmpty()
      Tells whether or not the feature list is empty
      void setDescriptionKey​(java.lang.String strDescriptionKey)
      Sets the description of the feature group to the specified string.
      void setIcon​(java.lang.String strIcon)
      Sets the icon of the feature group to the specified string.
      void setId​(java.lang.String strId)
      Sets the identifier of the feature group to the specified string.
      void setLabelKey​(java.lang.String strLabelKey)
      Sets the label of the feature group to the specified string.
      void setLocale​(java.util.Locale locale)
      Sets the locale to use
      void setOrder​(int nOrder)
      Sets the order of the feature group to the specified int.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeatureGroup

        public FeatureGroup()
    • Method Detail

      • setLocale

        public void setLocale​(java.util.Locale locale)
        Sets the locale to use
        Parameters:
        locale - the locale to use
      • getId

        public java.lang.String getId()
        Returns the identifier of this feature group
        Returns:
        the identifier of this feature group
      • setId

        public void setId​(java.lang.String strId)
        Sets the identifier of the feature group to the specified string.
        Parameters:
        strId - the new identifier
      • getLabelKey

        public java.lang.String getLabelKey()
        Returns the label of this feature group.
        Returns:
        the feature group label
      • getLabel

        public java.lang.String getLabel()
        Returns the label of this feature group.
        Returns:
        the feature group label
      • setLabelKey

        public void setLabelKey​(java.lang.String strLabelKey)
        Sets the label of the feature group to the specified string.
        Parameters:
        strLabelKey - the new label
      • getOrder

        public int getOrder()
        Returns the order of this feature group.
        Returns:
        the feature group order
      • setOrder

        public void setOrder​(int nOrder)
        Sets the order of the feature group to the specified int.
        Parameters:
        nOrder - the new level
      • getDescriptionKey

        public java.lang.String getDescriptionKey()
        Returns the description of this feature group.
        Returns:
        the feature group description
      • getDescription

        public java.lang.String getDescription()
        Returns the description of this feature group.
        Returns:
        the feature group description
      • setDescriptionKey

        public void setDescriptionKey​(java.lang.String strDescriptionKey)
        Sets the description of the feature group to the specified string.
        Parameters:
        strDescriptionKey - the new description
      • addFeature

        public void addFeature​(Right right)
        Add a feature to the group
        Parameters:
        right - The feature to add
      • isEmpty

        public boolean isEmpty()
        Tells whether or not the feature list is empty
        Returns:
        _aFeaturesList
      • getFeatures

        public java.util.Collection<Right> getFeatures()
        Returns all features affected to the group
        Returns:
        a collection
      • getReferenceItem

        public ReferenceItem getReferenceItem()
        Returns a reference item for the feature group
        Returns:
        a reference item
      • getIcon

        public java.lang.String getIcon()
        Returns the icon of this feature group.
        Returns:
        the feature group icon
      • setIcon

        public void setIcon​(java.lang.String strIcon)
        Sets the icon of the feature group to the specified string.
        Parameters:
        strIcon - the new icon