Class ModelHandlerUtils

java.lang.Object
ch.tocco.nice2.model.entity.api.util.ModelHandlerUtils

public abstract class ModelHandlerUtils extends Object
  • Method Details

    • removeRelation

      public static void removeRelation(RelationModel relModel)
      Removes the given relation model from source and target.
    • looksLikeRelation

      public static boolean looksLikeRelation(String relName)
    • buildRelationName

      public static String buildRelationName(String myEntityName, String otherEntityName)
      Used when the config did not specify a relation name explicitly.

      This is the preferred way to keep config short, and stick to a consistent naming scheme.