Class GeneratedClassFeatureGroup

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the ClassFeatureGroup.code attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the ClassFeatureGroup.name attribute
        See Also:
        Constant Field Values
      • CLASSFEATUREGROUPASSIGNMENTS

        public static final java.lang.String CLASSFEATUREGROUPASSIGNMENTS
        Qualifier of the ClassFeatureGroup.classFeatureGroupAssignments attribute
        See Also:
        Constant Field Values
      • CLASSIFICATIONCLASSPOS

        public static final java.lang.String CLASSIFICATIONCLASSPOS
        Qualifier of the ClassFeatureGroup.classificationClassPOS attribute
        See Also:
        Constant Field Values
      • CLASSIFICATIONCLASS

        public static final java.lang.String CLASSIFICATIONCLASS
        Qualifier of the ClassFeatureGroup.classificationClass attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedClassFeatureGroup

        public GeneratedClassFeatureGroup()
    • Method Detail

      • getClassFeatureGroupAssignments

        public java.util.List<ClassFeatureGroupAssignment> getClassFeatureGroupAssignments​(SessionContext ctx)
        Generated method - Getter of the ClassFeatureGroup.classFeatureGroupAssignments attribute.
        Returns:
        the classFeatureGroupAssignments
      • getClassFeatureGroupAssignments

        public java.util.List<ClassFeatureGroupAssignment> getClassFeatureGroupAssignments()
        Generated method - Getter of the ClassFeatureGroup.classFeatureGroupAssignments attribute.
        Returns:
        the classFeatureGroupAssignments
      • setClassFeatureGroupAssignments

        public void setClassFeatureGroupAssignments​(SessionContext ctx,
                                                    java.util.List<ClassFeatureGroupAssignment> value)
        Generated method - Setter of the ClassFeatureGroup.classFeatureGroupAssignments attribute.
        Parameters:
        value - the classFeatureGroupAssignments
      • setClassFeatureGroupAssignments

        public void setClassFeatureGroupAssignments​(java.util.List<ClassFeatureGroupAssignment> value)
        Generated method - Setter of the ClassFeatureGroup.classFeatureGroupAssignments attribute.
        Parameters:
        value - the classFeatureGroupAssignments
      • addToClassFeatureGroupAssignments

        public void addToClassFeatureGroupAssignments​(SessionContext ctx,
                                                      ClassFeatureGroupAssignment value)
        Generated method - Adds value to classFeatureGroupAssignments.
        Parameters:
        value - the item to add to classFeatureGroupAssignments
      • addToClassFeatureGroupAssignments

        public void addToClassFeatureGroupAssignments​(ClassFeatureGroupAssignment value)
        Generated method - Adds value to classFeatureGroupAssignments.
        Parameters:
        value - the item to add to classFeatureGroupAssignments
      • removeFromClassFeatureGroupAssignments

        public void removeFromClassFeatureGroupAssignments​(SessionContext ctx,
                                                           ClassFeatureGroupAssignment value)
        Generated method - Removes value from classFeatureGroupAssignments.
        Parameters:
        value - the item to remove from classFeatureGroupAssignments
      • removeFromClassFeatureGroupAssignments

        public void removeFromClassFeatureGroupAssignments​(ClassFeatureGroupAssignment value)
        Generated method - Removes value from classFeatureGroupAssignments.
        Parameters:
        value - the item to remove from classFeatureGroupAssignments
      • getClassificationClass

        public ClassificationClass getClassificationClass​(SessionContext ctx)
        Generated method - Getter of the ClassFeatureGroup.classificationClass attribute.
        Returns:
        the classificationClass
      • getClassificationClass

        public ClassificationClass getClassificationClass()
        Generated method - Getter of the ClassFeatureGroup.classificationClass attribute.
        Returns:
        the classificationClass
      • setClassificationClass

        public void setClassificationClass​(SessionContext ctx,
                                           ClassificationClass value)
        Generated method - Setter of the ClassFeatureGroup.classificationClass attribute.
        Parameters:
        value - the classificationClass
      • setClassificationClass

        public void setClassificationClass​(ClassificationClass value)
        Generated method - Setter of the ClassFeatureGroup.classificationClass attribute.
        Parameters:
        value - the classificationClass
      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the ClassFeatureGroup.code attribute.
        Returns:
        the code - Code of ClassFeatureGroup
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the ClassFeatureGroup.code attribute.
        Returns:
        the code - Code of ClassFeatureGroup
      • setCode

        public void setCode​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the ClassFeatureGroup.code attribute.
        Parameters:
        value - the code - Code of ClassFeatureGroup
      • setCode

        public void setCode​(java.lang.String value)
        Generated method - Setter of the ClassFeatureGroup.code attribute.
        Parameters:
        value - the code - Code of ClassFeatureGroup
      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the ClassFeatureGroup.name attribute.
        Returns:
        the name - Localized name of ClassFeatureGroup
      • getName

        public java.lang.String getName()
        Generated method - Getter of the ClassFeatureGroup.name attribute.
        Returns:
        the name - Localized name of ClassFeatureGroup
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName​(SessionContext ctx)
        Generated method - Getter of the ClassFeatureGroup.name attribute.
        Returns:
        the localized name - Localized name of ClassFeatureGroup
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName()
        Generated method - Getter of the ClassFeatureGroup.name attribute.
        Returns:
        the localized name - Localized name of ClassFeatureGroup
      • setName

        public void setName​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the ClassFeatureGroup.name attribute.
        Parameters:
        value - the name - Localized name of ClassFeatureGroup
      • setName

        public void setName​(java.lang.String value)
        Generated method - Setter of the ClassFeatureGroup.name attribute.
        Parameters:
        value - the name - Localized name of ClassFeatureGroup
      • setAllName

        public void setAllName​(SessionContext ctx,
                               java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the ClassFeatureGroup.name attribute.
        Parameters:
        value - the name - Localized name of ClassFeatureGroup
      • setAllName

        public void setAllName​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the ClassFeatureGroup.name attribute.
        Parameters:
        value - the name - Localized name of ClassFeatureGroup