Setter method for adj_3way_state, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_3way_state (isis-dcm-3way-adj-state)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_adj_3way_state is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_adj_3way_state() directly.

    YANG Description: Adjacency 3 Way Hand Shaking State

def _set_adj_3way_state(self, v, load=False):
    """
    Setter method for adj_3way_state, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_3way_state (isis-dcm-3way-adj-state)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_adj_3way_state is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_adj_3way_state() directly.

    YANG Description: Adjacency 3 Way Hand Shaking State
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'adj-3way-state-init': {'value': 1}, u'adj-3way-state-invalid': {'value': 4}, u'adj-3way-state-down': {'value': 2}, u'adj-3way-state-accept': {'value': 3}, u'adj-3way-state-up': {'value': 0}},), is_leaf=True, yang_name="adj-3way-state", rest_name="adj-3way-state", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='urn:brocade.com:mgmt:brocade-isis-operational', defining_module='brocade-isis-operational', yang_type='isis-dcm-3way-adj-state', is_config=False)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """adj_3way_state must be of a type compatible with isis-dcm-3way-adj-state""",
          'defined-type': "brocade-isis-operational:isis-dcm-3way-adj-state",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'adj-3way-state-init': {'value': 1}, u'adj-3way-state-invalid': {'value': 4}, u'adj-3way-state-down': {'value': 2}, u'adj-3way-state-accept': {'value': 3}, u'adj-3way-state-up': {'value': 0}},), is_leaf=True, yang_name="adj-3way-state", rest_name="adj-3way-state", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='urn:brocade.com:mgmt:brocade-isis-operational', defining_module='brocade-isis-operational', yang_type='isis-dcm-3way-adj-state', is_config=False)""",
        })

    self.__adj_3way_state = t
    if hasattr(self, '_set'):
      self._set()