Class GeneratedClassFeatureGroupAssignment

    • Field Detail

      • CLASSATTRIBUTEASSIGNMENT

        public static final java.lang.String CLASSATTRIBUTEASSIGNMENT
        Qualifier of the ClassFeatureGroupAssignment.classAttributeAssignment attribute
        See Also:
        Constant Field Values
      • CLASSIFICATIONCLASS

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

        public static final java.lang.String CLASSFEATUREGROUPPOS
        Qualifier of the ClassFeatureGroupAssignment.classFeatureGroupPOS attribute
        See Also:
        Constant Field Values
      • CLASSFEATUREGROUP

        public static final java.lang.String CLASSFEATUREGROUP
        Qualifier of the ClassFeatureGroupAssignment.classFeatureGroup 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

      • GeneratedClassFeatureGroupAssignment

        public GeneratedClassFeatureGroupAssignment()
    • Method Detail

      • getClassAttributeAssignment

        public ClassAttributeAssignment getClassAttributeAssignment​(SessionContext ctx)
        Generated method - Getter of the ClassFeatureGroupAssignment.classAttributeAssignment attribute.
        Returns:
        the classAttributeAssignment - ClassAttributeAssignment which is wrapped by ClassFeatureGroupAssignment
      • getClassAttributeAssignment

        public ClassAttributeAssignment getClassAttributeAssignment()
        Generated method - Getter of the ClassFeatureGroupAssignment.classAttributeAssignment attribute.
        Returns:
        the classAttributeAssignment - ClassAttributeAssignment which is wrapped by ClassFeatureGroupAssignment
      • setClassAttributeAssignment

        public void setClassAttributeAssignment​(SessionContext ctx,
                                                ClassAttributeAssignment value)
        Generated method - Setter of the ClassFeatureGroupAssignment.classAttributeAssignment attribute.
        Parameters:
        value - the classAttributeAssignment - ClassAttributeAssignment which is wrapped by ClassFeatureGroupAssignment
      • setClassAttributeAssignment

        public void setClassAttributeAssignment​(ClassAttributeAssignment value)
        Generated method - Setter of the ClassFeatureGroupAssignment.classAttributeAssignment attribute.
        Parameters:
        value - the classAttributeAssignment - ClassAttributeAssignment which is wrapped by ClassFeatureGroupAssignment
      • getClassFeatureGroup

        public ClassFeatureGroup getClassFeatureGroup​(SessionContext ctx)
        Generated method - Getter of the ClassFeatureGroupAssignment.classFeatureGroup attribute.
        Returns:
        the classFeatureGroup
      • getClassFeatureGroup

        public ClassFeatureGroup getClassFeatureGroup()
        Generated method - Getter of the ClassFeatureGroupAssignment.classFeatureGroup attribute.
        Returns:
        the classFeatureGroup
      • setClassFeatureGroup

        public void setClassFeatureGroup​(SessionContext ctx,
                                         ClassFeatureGroup value)
        Generated method - Setter of the ClassFeatureGroupAssignment.classFeatureGroup attribute.
        Parameters:
        value - the classFeatureGroup
      • setClassFeatureGroup

        public void setClassFeatureGroup​(ClassFeatureGroup value)
        Generated method - Setter of the ClassFeatureGroupAssignment.classFeatureGroup attribute.
        Parameters:
        value - the classFeatureGroup
      • getClassificationClass

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

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

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

        public void setClassificationClass​(ClassificationClass value)
        Generated method - Setter of the ClassFeatureGroupAssignment.classificationClass attribute.
        Parameters:
        value - the classificationClass - ClassificationClass of ClassFeatureGroupAssignment
      • 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