// Path: Redis-Synyed-common/src/main/java/com/wmz7year/synyed/constant/RedisRDBConstant.java
// public static final byte REDIS_ENCODING_RAW = 0; /* Raw representation */
// 
// Path: Redis-Synyed-common/src/main/java/com/wmz7year/synyed/constant/RedisRDBConstant.java
// public static final byte REDIS_STRING = 0;


import static com.wmz7year.synyed.constant.RedisRDBConstant.REDIS_ENCODING_RAW;
import static com.wmz7year.synyed.constant.RedisRDBConstant.REDIS_STRING;
package com.wmz7year.synyed.parser.entry;


/**
 * Redis 字符串类型数据对象
 * 
 * @Title: RedisStringObject.java
 * @Package com.wmz7year.synyed.parser.entry
 * @author jiangwei (ydswcy513@gmail.com)
 * @date 2015年12月16日 下午1:20:59
 * @version V1.0
 */
public class RedisStringObject extends RedisObject {
	/**
	 * string字符串数据
	 */
	private byte[] data;

	public RedisStringObject(byte[] data) {
		this.data = data;
	}

	/*
	 * @see com.wmz7year.synyed.parser.entry.RedisObject#getType()
	 */
	@Override
	public byte getType() {
// Path: Redis-Synyed-common/src/main/java/com/wmz7year/synyed/constant/RedisRDBConstant.java
// public static final byte REDIS_ENCODING_RAW = 0; /* Raw representation */
// 
// Path: Redis-Synyed-common/src/main/java/com/wmz7year/synyed/constant/RedisRDBConstant.java
// public static final byte REDIS_STRING = 0;


// Path: Redis-Synyed-common/src/main/java/com/wmz7year/synyed/parser/entry/RedisStringObject.java
import static com.wmz7year.synyed.constant.RedisRDBConstant.REDIS_ENCODING_RAW;
import static com.wmz7year.synyed.constant.RedisRDBConstant.REDIS_STRING;

package com.wmz7year.synyed.parser.entry;


/**
 * Redis 字符串类型数据对象
 * 
 * @Title: RedisStringObject.java
 * @Package com.wmz7year.synyed.parser.entry
 * @author jiangwei (ydswcy513@gmail.com)
 * @date 2015年12月16日 下午1:20:59
 * @version V1.0
 */
public class RedisStringObject extends RedisObject {
	/**
	 * string字符串数据
	 */
	private byte[] data;

	public RedisStringObject(byte[] data) {
		this.data = data;
	}

	/*
	 * @see com.wmz7year.synyed.parser.entry.RedisObject#getType()
	 */
	@Override
	public byte getType() {
		return REDIS_STRING;