Class ModelHandlerUtils
java.lang.Object
ch.tocco.nice2.model.entity.api.util.ModelHandlerUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildRelationName
(String myEntityName, String otherEntityName) Used when the config did not specify a relation name explicitly.static boolean
looksLikeRelation
(String relName) static void
removeRelation
(RelationModel relModel) Removes the given relation model from source and target.
-
Method Details
-
removeRelation
Removes the given relation model from source and target. -
looksLikeRelation
-
buildRelationName
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.
-