def __init__(self, name='<STR_LIT>', foreignModel=None):
IRField.__init__(self, name, valueType=int, defaultValue=irNull)<EOL>if foreignModel:<EOL><INDENT>if not isinstance(foreignModel, type):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if not hasattr(foreignModel, '<STR_LIT>'):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT><DEDENT>self._foreignModel = weakref.ref(foreignModel)<EOL>
__init__ - Create an IRForeignLinkField. Only takes a name

@param name <str> - Field name

This field type does not support indexing.