Class NodeSemantic


  • public class NodeSemantic
    extends Object
    Represents either a Business Group (BG) or Business Term (BT) from the eInvoice EN16931 specification.
    • Constructor Detail

      • NodeSemantic

        public NodeSemantic​(String id,
                            String tableId)
    • Method Detail

      • addSyntaxRepresentation

        public void addSyntaxRepresentation​(NodeSyntax node)
        Adds an syntax representation node of this semantic node
      • isBusinessGroup

        public Boolean isBusinessGroup()
      • getId

        public String getId()
      • setBusinessTerm

        public void setBusinessTerm​(String bt)
      • getBusinessTerm

        public String getBusinessTerm()
      • setCardinality

        public void setCardinality​(String c)
      • setDataType

        public void setDataType​(String dt)
      • setDescription

        public void setDescription​(String d)
      • getDescription

        public String getDescription()
      • setLevel

        public void setLevel​(Integer l)
      • getLevel

        public Integer getLevel()
      • toSubString

        public String toSubString​(boolean onlySemantic)
      • createSemanticXMLFile

        public void createSemanticXMLFile​(String fileName,
                                          String outputPath,
                                          String title,
                                          Boolean isNormative)
      • createSemanticJSONFile

        public void createSemanticJSONFile​(String fileName,
                                           String outputPath,
                                           String title,
                                           Boolean isNormative)
      • createSubXMLFile

        public void createSubXMLFile​(String fileName,
                                     String outputPath,
                                     String title,
                                     Boolean isNormative)
      • validateCardinalityMismatches

        public static void validateCardinalityMismatches()
        Compares the resulting mismatch from the given cardinalites of semantic & syntax, with the given mismatches!
      • showSemanticIDAnomalies

        public static void showSemanticIDAnomalies()