Class SunCmpMappings

  • All Implemented Interfaces:
    Cloneable, org.netbeans.modules.schema2beans.Bean

    public class SunCmpMappings
    extends org.netbeans.modules.schema2beans.BaseBean
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.netbeans.modules.schema2beans.BaseBean

        org.netbeans.modules.schema2beans.BaseBean.IterateChoiceProperties
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String SUN_CMP_MAPPING  
      • Fields inherited from class org.netbeans.modules.schema2beans.BaseBean

        binding, graphManager, MERGE_COMPARE, MERGE_INTERSECT, MERGE_NONE, MERGE_UNION, MERGE_UPDATE
    • Constructor Detail

      • SunCmpMappings

        public SunCmpMappings()
                       throws org.netbeans.modules.schema2beans.Schema2BeansException
        Throws:
        org.netbeans.modules.schema2beans.Schema2BeansException
      • SunCmpMappings

        public SunCmpMappings​(Node doc,
                              int options)
                       throws org.netbeans.modules.schema2beans.Schema2BeansException
        Throws:
        org.netbeans.modules.schema2beans.Schema2BeansException
      • SunCmpMappings

        public SunCmpMappings​(int options)
    • Method Detail

      • initFromNode

        protected void initFromNode​(Node doc,
                                    int options)
                             throws org.netbeans.modules.schema2beans.Schema2BeansException
        Throws:
        org.netbeans.modules.schema2beans.Schema2BeansException
      • initOptions

        protected void initOptions​(int options)
      • setSunCmpMapping

        public void setSunCmpMapping​(int index,
                                     SunCmpMapping value)
      • getSunCmpMapping

        public SunCmpMapping getSunCmpMapping​(int index)
      • sizeSunCmpMapping

        public int sizeSunCmpMapping()
      • setSunCmpMapping

        public void setSunCmpMapping​(SunCmpMapping[] value)
      • addSunCmpMapping

        public int addSunCmpMapping​(SunCmpMapping value)
      • removeSunCmpMapping

        public int removeSunCmpMapping​(SunCmpMapping value)
      • newSunCmpMapping

        public SunCmpMapping newSunCmpMapping()
        Create a new bean using it's default constructor. This does not add it to any bean graph.
      • addComparator

        public static void addComparator​(org.netbeans.modules.schema2beans.BeanComparator c)
      • removeComparator

        public static void removeComparator​(org.netbeans.modules.schema2beans.BeanComparator c)
      • createGraph

        public static SunCmpMappings createGraph​(Node doc)
                                          throws org.netbeans.modules.schema2beans.Schema2BeansException
        Throws:
        org.netbeans.modules.schema2beans.Schema2BeansException
      • createGraph

        public static SunCmpMappings createGraph​(File f)
                                          throws org.netbeans.modules.schema2beans.Schema2BeansException,
                                                 IOException
        Throws:
        org.netbeans.modules.schema2beans.Schema2BeansException
        IOException
      • createGraph

        public static SunCmpMappings createGraph​(InputStream in)
                                          throws org.netbeans.modules.schema2beans.Schema2BeansException
        Throws:
        org.netbeans.modules.schema2beans.Schema2BeansException
      • createGraph

        public static SunCmpMappings createGraph​(InputStream in,
                                                 boolean validate)
                                          throws org.netbeans.modules.schema2beans.Schema2BeansException
        Throws:
        org.netbeans.modules.schema2beans.Schema2BeansException
      • validate

        public void validate()
                      throws org.netbeans.modules.schema2beans.ValidateException
        Throws:
        org.netbeans.modules.schema2beans.ValidateException
      • _setSchemaLocation

        public void _setSchemaLocation​(String location)
      • _getSchemaLocation

        public String _getSchemaLocation()
      • dump

        public void dump​(StringBuffer str,
                         String indent)
        Specified by:
        dump in class org.netbeans.modules.schema2beans.BaseBean
      • dumpBeanNode

        public String dumpBeanNode()
        Overrides:
        dumpBeanNode in class org.netbeans.modules.schema2beans.BaseBean