Пример #1
0
 /**
  * Add a mutation to set this property to the provided value.
  *
  * @param mutation the element mutation
  * @param value the new property value
  * @param metadata the property metadata
  * @param visibility the property visibility
  */
 public final void setProperty(
     final ElementMutation<?> mutation,
     final TRaw value,
     final Map<String, Object> metadata,
     final Visibility visibility) {
   mutation.setProperty(key, wrap(value), metadata, visibility);
 }
Пример #2
0
 /**
  * Add a mutation to set this property to the provided value.
  *
  * @param mutation the element mutation
  * @param value the new property value
  * @param visibility the property visibility
  */
 public final void setProperty(
     final ElementMutation<?> mutation, final TRaw value, final Visibility visibility) {
   mutation.setProperty(key, wrap(value), visibility);
 }