Class OMTableAndViewTransformer

    • Method Detail

      • setJavaNameAttribute

        public static void setJavaNameAttribute​(SourceElement tableElement,
                                                ControllerState controllerState)
                                         throws SourceTransformerException
        Sets the javaName attribute of the table element, if not already set.
        Parameters:
        tableElement - the table element, not null.
        controllerState - the controller state, not null.
        Throws:
        SourceTransformerException - if both attributes javaName and name are not set on the tableElement.
      • setUnqualifiedNameAttribute

        protected void setUnqualifiedNameAttribute​(SourceElement tableElement)
      • setSequenceAttributeIfNecessary

        protected void setSequenceAttributeIfNecessary​(SourceElement tableElement)
      • setFieldNameAttribute

        protected void setFieldNameAttribute​(SourceElement tableElement)
        Sets the fieldName attribute of the table element if it is not already set. The field name can be used to contain a database object corresponding to the table. The javaName attribute of the column must be set.
        Parameters:
        tableElement - the table element, not null.
      • setPeerImplFieldNameAttribute

        protected void setPeerImplFieldNameAttribute​(SourceElement tableElement)
        Sets the peerImplFieldName attribute of the table element if it is not already set. The field name can be used to contain a peer object corresponding to the table. The peerImplClassName attribute of the column must be already set when this method is called.
        Parameters:
        tableElement - the table element, not null.
      • setPeerImplGetterAttribute

        public static void setPeerImplGetterAttribute​(SourceElement tableElement)
        Sets the peerImplGetter attribute of the table element if it is not already set. The peerImplClassName attribute of the column must be already set when this method is called.
        Parameters:
        tableElement - the table element, not null.
      • setPeerImplSetterAttribute

        protected void setPeerImplSetterAttribute​(SourceElement tableElement)
        Sets the peerImplSetter attribute of the table element if it is not already set. The peerImplClassName attribute of the column must be already set when this method is called.
        Parameters:
        tableElement - the table element, not null.
      • setCreateDefaultDateMethodsAttributes

        protected void setCreateDefaultDateMethodsAttributes​(SourceElement tableElement)