001 /**
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements. See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License. You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017 package com.iona.fuse.mb.store.amq;
018
019 import org.apache.activemq.command.DataStructure;
020 import org.apache.activemq.kaha.impl.async.Location;
021 import org.apache.activemq.util.ByteSequence;
022 import org.josql.Query;
023
024 public class Entry {
025
026 Location location;
027 DataStructure record;
028 private ByteSequence data;
029 private String type;
030 private String formater;
031 private Query query;
032
033 public Location getLocation() {
034 return location;
035 }
036 public void setLocation(Location location) {
037 this.location = location;
038 }
039 public DataStructure getRecord() {
040 return record;
041 }
042 public void setRecord(DataStructure record) {
043 this.record = record;
044 }
045 public void setData(ByteSequence data) {
046 this.data = data;
047 }
048 public void setType(String type) {
049 this.type = type;
050 }
051 public ByteSequence getData() {
052 return data;
053 }
054 public String getType() {
055 return type;
056 }
057 public void setFormater(String formater) {
058 this.formater = formater;
059 }
060 public String getFormater() {
061 return formater;
062 }
063 public void setQuery(Query query) {
064 this.query = query;
065 }
066 public Query getQuery() {
067 return query;
068 }
069
070 }