Class DOMInfoModel


  • public abstract class DOMInfoModel
    extends Object
    • Constructor Detail

      • DOMInfoModel

        public DOMInfoModel()
    • Method Detail

      • initInfoModel

        public void initInfoModel()
        initialize
      • reset

        public static void reset()
      • getMasterDOMClassArr

        public static ArrayList<DOMClass> getMasterDOMClassArr()
        getters and setters
      • isAttInactive

        public static boolean isAttInactive​(String lIdentifier)
      • checkForFundamentalStructure

        public String checkForFundamentalStructure​(String lName)
        return a fundamental structure
      • getNextUId

        public static String getNextUId()
        return the next uid
      • getNextClassOrder

        public static String getNextClassOrder()
      • getNextGroupNum

        public static String getNextGroupNum()
      • resetClassOrder

        public static void resetClassOrder()
      • getClassIdentifier

        public static String getClassIdentifier​(String lClassNameSpaceIdNC,
                                                String lClassTitle)
        return a class's identifier
      • getAttrIdentifier

        public static String getAttrIdentifier​(String lClassNameSpaceIdNC,
                                               String lClassTitle,
                                               String lAttrNameSpaceIdNC,
                                               String lAttrTitle)
        return an attribute's identifier
      • getRuleRDFIdentifier

        public static String getRuleRDFIdentifier​(String lClassNameSpaceIdNC,
                                                  String lClassTitle,
                                                  String lAttrNameSpaceIdNC,
                                                  String lAttrTitle)
        return rules's rdfIdentifier
      • getPropMapRDFIdentifier

        public static String getPropMapRDFIdentifier​(String lInputIdentifier)
        return property map's rdfIdentifier
      • wrapTextNew

        public static ArrayList<String> wrapTextNew​(String lString,
                                                    int beginOffset,
                                                    int endOffset)
        wrap a text string
      • String2Int

        public int String2Int​(String s1)
        Convert String to int
      • getSingletonAttrValue

        public static String getSingletonAttrValue​(ArrayList<String> valarr)
        get a singleton value from a value array, single if multiple value
      • getSingletonValueUpdate

        public static String getSingletonValueUpdate​(ArrayList<String> valarr,
                                                     String oVal)
        get a singleton value from a value array, update only if oVal is TBD
      • getSortedAlphaClassAssocClassArr

        public static ArrayList<gov.nasa.pds.model.plugin.DOMAssocClassDefn> getSortedAlphaClassAssocClassArr​(DOMClass lClass)
      • getAttArrByTitleStewardClassSteward

        public static ArrayList<DOMAttr> getAttArrByTitleStewardClassSteward()
      • getPropArrByTitleStewardClassSteward

        public static ArrayList<DOMProp> getPropArrByTitleStewardClassSteward()
      • DOMAttrWriter

        public static void DOMAttrWriter​(DOMAttr attr,
                                         PrintWriter prDOMWriter)
        print one attribute
      • DOMPropWriter

        public static void DOMPropWriter​(DOMProp lProp,
                                         PrintWriter prDOMWrite)