Class UntypedFeature<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    @Deprecated
    public class UntypedFeature<T>
    extends Feature<T>
    Deprecated.
    since ages - use subtypes ofFeature instead.
    Default untyped feature implementation. It simply holds a unique string qualifier which also defines its name.
    See Also:
    Serialized Form
    • Constructor Detail

      • UntypedFeature

        protected UntypedFeature​(FeatureContainer parent,
                                 java.lang.String qualifier,
                                 boolean localized)
        Deprecated.
      • UntypedFeature

        protected UntypedFeature​(UntypedFeature<T> src)
                          throws java.lang.CloneNotSupportedException
        Deprecated.
        Throws:
        java.lang.CloneNotSupportedException
    • Method Detail

      • clone

        public UntypedFeature<T> clone()
                                throws java.lang.CloneNotSupportedException
        Deprecated.
        Specified by:
        clone in class Feature<T>
        Throws:
        java.lang.CloneNotSupportedException
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Deprecated.
        Description copied from class: Feature
        Returns the name of this feature localized for the specified session language.
        Specified by:
        getName in class Feature<T>
      • getUniqueKey

        protected java.lang.String getUniqueKey()
        Deprecated.
        Specified by:
        getUniqueKey in class Feature<T>
      • createValue

        public FeatureValue<T> createValue​(SessionContext ctx,
                                           int index,
                                           T value)
        Deprecated.
        Description copied from class: Feature
        Creates a new value for this feature. The value is inserted into the existing values list for the specified session language.
        Specified by:
        createValue in class Feature<T>
        Parameters:
        ctx - the context specifying the session language
        index - the position to insert the new value at
        value - the new value
        Returns:
        the value object