public void setFieldValue(_Fields field, Object value) { switch (field) { case NAME: if (value == null) { unsetName(); } else { setName((ByteBuffer) value); } break; case COLUMNS: if (value == null) { unsetColumns(); } else { setColumns((List<Column>) value); } break; } }
public SuperColumn setName(byte[] name) { setName(ByteBuffer.wrap(name)); return this; }
public byte[] getName() { setName(TBaseHelper.rightSize(name)); return name.array(); }