Class AtlasModelFactory

java.lang.Object
io.atlasmap.v2.AtlasModelFactory

public class AtlasModelFactory extends Object
  • Field Details

  • Method Details

    • createMapping

      public static <T extends BaseMapping> T createMapping()
    • createMapping

      public static <T extends BaseMapping> T createMapping(MappingType type)
    • createAtlasMapping

      public static AtlasMapping createAtlasMapping()
    • createCollection

      public static Collection createCollection()
    • createMockDocument

      public static MockDocument createMockDocument()
    • createMockField

      public static MockField createMockField()
    • createPropertyField

      public static PropertyField createPropertyField()
    • cloneMapping

      public static BaseMapping cloneMapping(BaseMapping baseMapping, boolean deepClone)
    • cloneField

      public static Field cloneField(Field f)
    • copyFieldGroup

      public static FieldGroup copyFieldGroup(FieldGroup fg)
      This is a shallow copy, it doesn't handle children. Each module should handle their own deep clone.
      Parameters:
      fg - FieldGroup
      Returns:
      copied FieldGroup
    • cloneFieldToSimpleField

      public static SimpleField cloneFieldToSimpleField(Field field)
    • copyField

      public static void copyField(Field from, Field to, boolean withActions)
    • createFieldGroupFrom

      public static FieldGroup createFieldGroupFrom(Field field, boolean withActions)
    • cloneFieldActions

      public static ArrayList<Action> cloneFieldActions(ArrayList<Action> actions)
    • cloneAction

      public static Action cloneAction(Action action)
    • baseFieldToString

      protected static String baseFieldToString(Field f)
    • toString

      public static String toString(PropertyField f)
    • toString

      public static String toString(Field f)
    • wrapWithField

      public static Field wrapWithField(Object val)
    • wrapWithField

      public static Field wrapWithField(Object val, String parentPath)
    • unwrapField

      public static Object unwrapField(Field f)