Set the proximity UUID.


@param uuid
The proximity UUID. The value must not be {@code null}.

@throws IllegalArgumentException
The given value is {@code null}.
485167
public void setUUID(UUID uuid)
    {
        if (uuid == null)
        {
            throw new IllegalArgumentException("'uuid' is null.");
        }

        mUUID = uuid;

        long msbits = uuid.getMostSignificantBits();
        long lsbits = uuid.getLeastSignificantBits();

        byte[] data = getData();
        data[UUID_INDEX +  0] = (byte)((msbits >> 56) & 0xFF);
        data[UUID_INDEX +  1] = (byte)((msbits >> 48) & 0xFF);
        data[UUID_INDEX +  2] = (byte)((msbits >> 40) & 0xFF);
        data[UUID_INDEX +  3] = (byte)((msbits >> 32) & 0xFF);
        data[UUID_INDEX +  4] = (byte)((msbits >> 24) & 0xFF);
        data[UUID_INDEX +  5] = (byte)((msbits >> 16) & 0xFF);
        data[UUID_INDEX +  6] = (byte)((msbits >>  8) & 0xFF);
        data[UUID_INDEX +  7] = (byte)((msbits      ) & 0xFF);
        data[UUID_INDEX +  8] = (byte)((lsbits >> 56) & 0xFF);
        data[UUID_INDEX +  9] = (byte)((lsbits >> 48) & 0xFF);
        data[UUID_INDEX + 10] = (byte)((lsbits >> 40) & 0xFF);
        data[UUID_INDEX + 11] = (byte)((lsbits >> 32) & 0xFF);
        data[UUID_INDEX + 12] = (byte)((lsbits >> 24) & 0xFF);
        data[UUID_INDEX + 13] = (byte)((lsbits >> 16) & 0xFF);
        data[UUID_INDEX + 14] = (byte)((lsbits >>  8) & 0xFF);
        data[UUID_INDEX + 15] = (byte)((lsbits >>  0) & 0xFF);
    }
893030
public void setId(String id) {
        logger.entering(id);
        this.id = id;
        logger.exiting();
    }
1359900
public static UUID readUUID(ArrayView source, int position) {
        long msb = readLong(source, position);
        long lsb = readLong(source, position + Long.BYTES);
        return new UUID(msb, lsb);
    }
1112014
public final void setGuaranteedTargetDestinationDefinitionUUID(SIBUuid12 value) {
    if (value != null)
      jmo.setField(ControlAccess.TARGETDESTDEFUUID, value.toByteArray());
    else
      jmo.setField(ControlAccess.TARGETDESTDEFUUID, null);
  }
993195
public void setOid(String oid) {
	if (oid == null) {
	    throw new IllegalArgumentException(i18n.getMessage("oidNull"));
	}
	this.oid = oid;
    }
1244662
@Override
	public void setUUID(UUID id) {
		assert id != null;
		final UUID old = getUUID();
		if (!id.equals(old)) {
			super.setUUID(id);
			firePrimitiveChanged();
		}
	}
1244646
public void setUcode(String ucode)
    {
        if (ucode == null)
        {
            throw new IllegalArgumentException("'ucode' is null.");
        }

        if (UCODE_PATTERN.matcher(ucode).matches() == false)
        {
            throw new IllegalArgumentException("The format of 'ucode' is wrong: " + ucode);
        }

        mUcode = ucode;

        byte[] data = getData();

        for (int i = 0; i < 32; i += 2)
        {
            // Parse the two hex letters.
            byte value = readHex(ucode, i);

            // Store the value in the little endian order.
            int offset = UCODE_INDEX + (15 - i / 2);

            data[offset] = value;
        }
    }
865136
public void setId(Object id) {
	  if (lock == SET) {
		 throw new IllegalStateException("EntryInfo is locked");
	  }
	  /*if (idFlag == SET) {
		 if (tc.isDebugEnabled()) Tr.debug(tc, "Illegal State: tried to set id to "+id+
											   ", but id was already set to "+this.id  );
		  throw new IllegalStateException("id was already set");
	  } */
	  idFlag = SET;
	  this.id = id;
	  if (tc.isDebugEnabled())
		 Tr.debug(tc, "set id=" + id);
   }
1068658
@Override
    public void setID(String id) {
        _ID = id;
        if (_store != null) {
            _store.setID(id);
        }
    }
1099855
public Uid setUid(String uid) {
		Uid property = (uid == null) ? null : new Uid(uid);
		setUid(property);
		return property;
	}
1163667
public void setMeUuid(SIBUuid8 value) {
    if (value != null)
      jmo.setField(TrmFirstContactAccess.BODY_CLIENTATTACHREQUEST2_MEUUID, value.toByteArray());
    else
      jmo.setField(TrmFirstContactAccess.BODY_CLIENTATTACHREQUEST2_MEUUID, null);
  }
96403
@Override
	public void removeByUuid(String uuid) {
		for (CommerceAvailabilityEstimate commerceAvailabilityEstimate : findByUuid(
				uuid, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceAvailabilityEstimate);
		}
	}
834761
@Override
	public void removeByUuid(String uuid) {
		for (CPSpecificationOption cpSpecificationOption : findByUuid(uuid,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpSpecificationOption);
		}
	}
1003144
public void setUuid(String v) {
    if (ExperimentUUID_Type.featOkTst && ((ExperimentUUID_Type)jcasType).casFeat_uuid == null)
      jcasType.jcas.throwFeatMissing("uuid", "edu.cmu.lti.oaqa.framework.types.ExperimentUUID");
    jcasType.ll_cas.ll_setStringValue(addr, ((ExperimentUUID_Type)jcasType).casFeatCode_uuid, v);}
220058
public void setID(String ID) {
        if (ID == null) {
            throw new NullPointerException();
        }
        if (isFrozen()) {
            throw new UnsupportedOperationException("Attempt to modify a frozen TimeZone instance.");
        }
        this.ID = ID;
    }
777852
public static UUID setLocalHostId(UUID hostId)
    {
        String req = "INSERT INTO system.%s (key, host_id) VALUES ('%s', ?)";
        executeInternal(String.format(req, LOCAL_CF, LOCAL_KEY), hostId);
        return hostId;
    }
318360
public final void setGuaranteedTargetDestinationDefinitionUUID(SIBUuid12 value) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setGuaranteedTargetDestinationDefinitionUUID", value);
        if (value != null)
            getHdr2().setField(JsHdr2Access.GUARANTEED_SET_TARGETDESTDEFUUID, value.toByteArray());
        else
            getHdr2().setField(JsHdr2Access.GUARANTEED_SET_TARGETDESTDEFUUID, null);
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setGuaranteedTargetDestinationDefinitionUUID");
    }