Class MapperDefnImpl

    • Field Detail

      • ELEM_NAME_MAPPERDEFN

        public static final java.lang.String ELEM_NAME_MAPPERDEFN
        This is the name of the mapper definition element.
        See Also:
        Constant Field Values
      • ATTR_NAME_MAPPERDEFN_NAME

        public static final java.lang.String ATTR_NAME_MAPPERDEFN_NAME
        This is the name of the mapper definition name attribute.
        See Also:
        Constant Field Values
      • ATTR_NAME_MAPPERDEFN_CLASS

        public static final java.lang.String ATTR_NAME_MAPPERDEFN_CLASS
        This is the name of the mapper definition class attribute.
        See Also:
        Constant Field Values
      • ATTR_NAME_MAPPERDEFN_DESCRIPTION

        public static final java.lang.String ATTR_NAME_MAPPERDEFN_DESCRIPTION
        This is the name of the mapper definition description attribute.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MapperDefnImpl

        public MapperDefnImpl()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of this mapper object.
        Specified by:
        getName in interface MapperDefn
        Returns:
        The name of this mapper object.
      • setName

        public void setName​(java.lang.String name)
                     throws java.lang.IllegalArgumentException
        Sets the name of this mapper object.
        Specified by:
        setName in interface MapperDefn
        Parameters:
        name - The name of this mapper object.
        Throws:
        java.lang.IllegalArgumentException - If the name is already used, then this exception is thrown.
      • getImplClassName

        public java.lang.String getImplClassName()
        Gets the fully qualified class name for the mapper definition.
        Specified by:
        getImplClassName in interface MapperDefn
        Returns:
        The fully qualified class name for the layout source.
      • setImplClassName

        public void setImplClassName​(java.lang.String fqcn)
        Sets the fully qualified class name for the mapper definition.
        Specified by:
        setImplClassName in interface MapperDefn
        Parameters:
        fqcn - The fully qualified class name.
      • getDescription

        public java.lang.String getDescription()
        Returns the description associated with this Mapper definition.
        Specified by:
        getDescription in interface MapperDefn
        Returns:
        The description associated with this Mapper definition.
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description associated with this Mapper definition.
        Specified by:
        setDescription in interface MapperDefn
        Parameters:
        description - A description for this Mapper definition.
      • getKeyAttribute

        protected java.lang.String getKeyAttribute()
        Description copied from class: AbstractConfigurationElement
        This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
        Specified by:
        getKeyAttribute in class AbstractConfigurationElement