LegalForm

esc.utils.LegalForm
object LegalForm

Object providing methods for check an normalizing legal forms.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LegalForm.type

Members list

Extensions

Extensions

extension (nameElement: String)
def isLegalForm: Boolean

Extension function to check whether a string is a legal form or not.

Extension function to check whether a string is a legal form or not.

Attributes

Returns

true if it match a legal form, otherwise false.

extension (nameElement: String)
def toDeLegalForm: (Boolean, String)

Extension function to convert a string to a legal form in German.

Extension function to convert a string to a legal form in German.

Attributes

Returns

(true, legalFormNameInDe) if the legal form was found. (false, originalString) if the legal form was not found.