code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.googlecode.mgwt.examples.showcase.client.activities.pulltorefresh;
import java.util.List;
import com.googlecode.mgwt.examples.showcase.client.DetailView;
import com.googlecode.mgwt.examples.showcase.client.activities.home.Topic;
import com.googlecode.mgwt.ui.client.widget.base.HasRefresh;
import com.googl... | Java |
package com.googlecode.mgwt.examples.showcase.client.activities.pulltorefresh;
import java.util.List;
import com.googlecode.mgwt.examples.showcase.client.BasicCell;
import com.googlecode.mgwt.examples.showcase.client.ChromeWorkaround;
import com.googlecode.mgwt.examples.showcase.client.DetailViewGwtImpl;
import com.g... | Java |
package com.googlecode.mgwt.examples.showcase.client.activities.pulltorefresh;
import java.util.LinkedList;
import java.util.List;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.AcceptsOneW... | Java |
package com.googlecode.mgwt.examples.showcase.client.activities.pulltorefresh;
import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;
public class PullToRefreshPlace extends Place {
public static class Tokenizer implements PlaceTokenizer<PullToRefreshPlace> {
@Override
publ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;
import com.googlecode.mgwt.examples.showcase.client.activities.AboutPlace;
import com.googlecode.mgwt.examples.showcase.c... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;
import com.googlecode.mgwt.examples.showcase.client.activities.AboutActivity;
import com.googlecode.mgwt.examples.showcas... | Java |
/*
* Copyright 2012 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.place.shared.Place;
import com.googlecode.mgwt.examples.showcase.client.activities.UIPlace;
import com.googlecode.mgwt.examples.showcase.client.places.HomePlace;
import com.googlecode.mgwt.mvp.client.Animation;
import com.googlecode.mgwt.mvp.c... | Java |
package com.googlecode.mgwt.examples.showcase.client.event;
import com.google.web.bindery.event.shared.Event;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.HandlerRegistration;
public class ActionEvent extends Event<ActionEvent.Handler> {
public interface Handler {
... | Java |
package com.googlecode.mgwt.examples.showcase.client.event;
public interface ActionNames {
public static final String BACK = "back";
public static final String ANIMATION_END = "ae";
}
| Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.place.shared.Place;
import com.googlecode.mgwt.examples.showcase.client.activities.animation.AnimationPlace;
import com.googlecode.mgwt.examples.showcase.client.activities.animationdone.AnimationDissolvePlace;
import com.googlecode.mgwt.exampl... | Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.IsWidget;
import com.googlecode.mgwt.dom.client.event.tap.HasTapHandlers;
public interface DetailView extends IsWidget{
public HasText getHeader();
public HasText getBackbuttonT... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.googlecode.mgwt.examples.showcase.client.css;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.TextResource;
public interface AppBundle extends ClientBundle {
//This is a very nasty workaround because GWT CssResource does n... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.google.web.bindery.event.shared.EventBus;
import com.googlecode.mgwt.dom.client.event.tap.TapEvent;
import com.googlecode.mgwt.dom.client.event.tap.TapHandler;
import com.googlecode.mgwt.examples.sho... | Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.mgwt.dom.client.event.tap.HasTapHandlers;
import com.googlecode.mgwt.ui.client.MGWT;
import com.googlecode.mg... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* x * Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Java |
/*
* Copyright 2010 Daniel Kurka
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.googlecode.mgwt.examples.showcase.client;
import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.History;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.HandlerRegistration;
import com.googlecode.mgwt.dom.client.event.mouse.HandlerRegist... | Java |
/**
*
*/
package business.local.parser.util;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
/**
* @author Skap3
*
*/
public class ParserUtil {
private static String RUTA_FICHERO = "";
private static String NOMBRE_F... | Java |
package buisness.local.hibernate.service;
import java.util.List;
import buisness.local.hibernate.dao.IAnimeDao;
import buisness.local.hibernate.dao.IFansubDao;
import buisness.local.hibernate.dao.impl.FansubDao;
import buisness.local.hibernate.model.Fansub;
public class BusinessService {
private static... | Java |
package buisness.local.hibernate.dao;
public interface IAnimeDao {
}
| Java |
package buisness.local.hibernate.dao;
import java.util.List;
import buisness.local.hibernate.model.Fansub;
public interface IFansubDao {
public List<Fansub> list();
}
| Java |
package buisness.local.hibernate.dao.impl;
import java.util.List;
import org.hibernate.SessionFactory;
import buisness.local.hibernate.dao.IFansubDao;
import buisness.local.hibernate.model.Fansub;
import buisness.local.hibernate.util.HibernateUtil;
public class FansubDao implements IFansubDao{
@Overri... | Java |
package buisness.local.hibernate.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "FANSUB")
public class... | Java |
package buisness.local.hibernate.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax... | Java |
/**
*
*/
package test.main;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.PersistenceContextType;
import org.hibernate.SessionFactory;
import org.jboss.logging.Message;
import de.vogella.rss.model.Feed;
import d... | Java |
package de.vogella.rss.read;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.X... | Java |
package de.vogella.rss.model;
import java.util.ArrayList;
import java.util.List;
/*
* Stores an RSS feed
*/
public class Feed {
final String title;
final String link;
final String description;
final String language;
final String copyright;
final String pubDate;
final List<FeedMessag... | Java |
package de.vogella.rss.model;
/*
* Represents one RSS message
*/
public class FeedMessage {
String title;
String description;
String link;
String author;
String guid;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
... | Java |
package de.vogella.rss.write;
import java.io.FileOutputStream;
import javax.xml.stream.XMLEventFactory;
import javax.xml.stream.XMLEventWriter;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.Characters;
import javax.xml.stream.events.EndEl... | Java |
package de.vogella.rss.write;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Locale;
import de.vogella.rss.model.Feed;
import de.vogella.rss.model.FeedMessage;
import de.vogella.rss.write.RSSFeedWriter;
public clas... | Java |
package de.vogella.rss.read;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.X... | Java |
package de.vogella.rss.model;
import java.util.ArrayList;
import java.util.List;
/*
* Stores an RSS feed
*/
public class Feed {
final String title;
final String link;
final String description;
final String language;
final String copyright;
final String pubDate;
final List<FeedMessag... | Java |
package de.vogella.rss.model;
/*
* Represents one RSS message
*/
public class FeedMessage {
String title;
String description;
String link;
String author;
String guid;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
... | Java |
package de.vogella.rss.write;
import java.io.FileOutputStream;
import javax.xml.stream.XMLEventFactory;
import javax.xml.stream.XMLEventWriter;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.Characters;
import javax.xml.stream.events.EndEl... | Java |
package de.vogella.rss.write;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Locale;
import de.vogella.rss.model.Feed;
import de.vogella.rss.model.FeedMessage;
import de.vogella.rss.write.RSSFeedWriter;
public clas... | Java |
package com.ltmt.es.utils.exceptions;
public class CSVParseException extends Exception {
/**
*
*/
private static final long serialVersionUID = -5069568692182856130L;
public CSVParseException(String message) {
super(message);
}
public CSVParseException(String message, Throwa... | Java |
package com.ltmt.es.utils.castor;
import java.util.ArrayList;
import java.util.List;
import com.ltmt.es.persistence.entity.HistoricCombination;
import com.ltmt.es.pojo.PrimitivaCombination;
public class PrimitivaCastor {
public static Float[] toStats (Integer[] hitAccumulator, int hTotal){
Float[... | Java |
package com.ltmt.es.utils.csvparser;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.ltmt.es.utils.exceptions.CSVParseException;
import au.com.bytecode.opencsv.CSVReader;
public class CSVUtils {
... | Java |
package com.ltmt.es.utils.htmlparser;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.List;
import com.ltmt.es.pojo.PrimitivaCombination;
import com.ltmt.es.pojo.PrimitivaDraw;
public class P... | Java |
package com.ltmt.es.generator;
import java.util.Random;
import com.ltmt.es.pojo.PrimitivaCombination;
public class PrimitivaGenerator {
public PrimitivaCombination generateNoRuleCombination (){
PrimitivaCombination pComb = new PrimitivaCombination();
Random rand = new Random();
for (int i=0; i<6; i++){... | Java |
/**
*
*/
package com.ltmt.es.pojo;
import java.util.ArrayList;
import java.util.List;
import com.ltmt.es.persistence.entity.HistoricCombination;
/**
* @author aruizred
*
*/
public class PrimitivaCombination {
private List<Integer> combination;
private int complementary;
private Floa... | Java |
/**
*
*/
package com.ltmt.es.persistence.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* @author aitor
*
*/... | Java |
package com.ltmt.es.persistence.utils;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.FlushModeType;
import javax.persistence.Persistence;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springfra... | Java |
package com.ltmt.es.persistence.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.ltmt.es.persistence.entity.HistoricCombination;
public interface PrimitivaHistoricCombinationRepository extends JpaRepository<HistoricCombination, Integer>{
}
| Java |
/**
*
*/
package com.ltmt.es.validator;
import java.util.List;
import com.ltmt.es.pojo.PrimitivaCombination;
import com.ltmt.es.utils.castor.PrimitivaCastor;
/**
* @author aruizred
*
*/
public class PrimitivaValidator {
private List<PrimitivaCombination> listHPComb;
public void statsVal... | Java |
/**
*
*/
package ltmt.test.main;
import java.util.ArrayList;
import java.util.List;
import com.ltmt.es.generator.PrimitivaGenerator;
import com.ltmt.es.persistence.utils.SpringDataUtil;
import com.ltmt.es.pojo.PrimitivaCombination;
import com.ltmt.es.utils.castor.PrimitivaCastor;
import com.ltmt.es.uti... | Java |
package ltmt.test.main;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import org.springframework.data.jpa.repository.support.JpaRepositoryFactory;
import com.ltmt.es.persistence.entity.HistoricCombination;
import com.ltmt.es.persistence.repository.PrimitivaHistoricCombin... | Java |
package test;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.Scheduler;
import org.quartz.StatefulJob;
public class HelloJob implements StatefulJob {
private static f... | Java |
package com.netnewera.l1.report;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
@XStreamAlias("Report")
public class Report {
@XStreamAsAttribute()
@XStreamAlias("Ver")
private String ver="1.00";
@XStreamAlias("LTRR")
privat... | Java |
package com.netnewera.l1.report;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("LTRR")
public class Ltrr {
@XStreamAlias("REQ_ID")
private String reqId;
@XStreamAlias("RESULT")
private String result;
@XStreamAlias("TIME_REMAINING")
private String timeRemaining... | Java |
package com.netnewera.l1.report;
import com.netnewera.l1.ans.Posinfo;
public class Posinfos {
private Posinfo posinfo;
public Posinfo getPosinfo() {
return posinfo;
}
public void setPosinfo(Posinfo posinfo) {
this.posinfo = posinfo;
}
@Override
public String toString() {
StringBuilder... | Java |
package com.netnewera.l1.req;
import java.util.List;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
@XStreamAlias("MSIDS")
public class Msids {
@XStreamImplicit(itemFieldName="MSID")
private List<String> msid;
/***
* 移动台标... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("TIME_RANGE")
public class TimeRange {
@XStreamAlias("START_TIME")
private String startTime;
@XStreamAlias("STOP_TIME")
private String stopTime;
@XStreamAlias("INTERVAL")
private String inter... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("ORIGINATOR")
public class Originator {
@XStreamAlias("ORID")
private String orid;
/***
* 发起定位请求的用户标识类型,可扩展为IMSI,MIN等
*/
@XStreamAlias("ORID_TYPE")
private String oridType;
public String g... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("PQOS")
public class Pqos {
@XStreamAlias("RESP_REQ")
private String respReq;
@XStreamAlias("RESP_TIMER")
private String respTimer;
@XStreamAlias("HOR_ACC")
private String horAcc;
@XStr... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("LCTR")
public class Lctr {
@XStreamAlias("REQ_ID")
private String reqId;
public String getReqId() {
return reqId;
}
public void setReqId(String reqId) {
this.reqId = reqId;
}
@Overr... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("GEO_INFO")
public class GeoInfo {
@XStreamAlias("COORD_SYS")
private String coordSys;
@XStreamAlias("DATUM")
private String datum;
@XStreamAlias("LL_FORMAT")
private String llFormat;
pu... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
@XStreamAlias("REQ")
public class Req implements Cloneable{
// @XStreamAsAttribute()
// @XStreamAlias("Ver")
// private String ver="1.00";
@XStreamAlias... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("LIR")
public class Lir {
@XStreamAlias("ORIGUSER_ACCESSTYPE")
private String origuserAccessType;
@XStreamAlias("FINDME_INDIC")
private String findmeIndic;
@XStreamAlias("MSIDS")
private M... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("PR_TIMER")
public class PrTimer {
@XStreamAlias("TIME")
private String time;
@XStreamAlias("TIME_RANGE")
private TimeRange timeRange ;
@XStreamAlias("GMT_OFF")
private String gmtOff;
pu... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("CLIENT")
public class Client {
@XStreamAlias("LCSCLIENTID")
private String lcsclientid;
@XStreamAlias("PASSWORD")
private String password;
public String getLcsclientid() {
return lcsclient... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("MSID_RANGE")
public class MsidRange {
@XStreamAlias("START_MSID")
private String startMsid;
@XStreamAlias("STOP_MSID")
private String stopMsid;
public String getStartMsid() {
return startMs... | Java |
package com.netnewera.l1.req;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("LTR")
public class Ltr {
@XStreamAlias("MSIDS")
private Msids msids;
@XStreamAlias("PR_TIMER")
private PrTimer prTimer;
@XStreamAlias("PR_TRIGGER")
private String prTrigger;
@XStreamAl... | Java |
package com.netnewera.l1.ans;
import java.util.List;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
public class Msids {
@XStreamImplicit(itemFieldName="MSID")
private List<String> msid;
/***
* 移动台标识类型
*/
@XStreamAlias("M... | Java |
package com.netnewera.l1.ans;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("LCTA")
public class Lcta {
@XStreamAlias("REQ_ID")
private String reqId;
@XStreamAlias("RESULT")
private String result;
public String getReqId() {
return reqId;
}
public void setReqId(St... | Java |
package com.netnewera.l1.ans;
import java.util.List;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("LIA")
public class Lia {
@XStreamAlias("RESULT")
private String result;
@XStreamAlias("POSINFOS")
private List<Posinfo> posinfos;
public String getResult() {
return... | Java |
package com.netnewera.l1.ans;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("POSINFO")
public class Posinfo {
@XStreamAlias("POSITIONRESULT")
private String positionresult;
@XStreamAlias("MSID")
private String msid;
@XStreamAlias("MSID_TYPE")
private String msidtype... | Java |
package com.netnewera.l1.ans;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
@XStreamAlias("ANS")
public class Ans {
@XStreamAsAttribute()
@XStreamAlias("VER")
private String ver="1.0.0";
@XStreamAlias("LCSCLIENTID")
private... | Java |
package com.netnewera.l1.ans;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("LTA")
public class Lta {
@XStreamAlias("REQ_ID")
private String reqId;
@XStreamAlias("MSIDS")
private Msids msids;
@XStreamAlias("RESULT")
private String result;
public String getReqId() {... | Java |
package com.netnewera.l1.ls;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
@XStreamAlias("ls_svc_init")
public class LsSvcInit {
@XStreamAsAttribute()
@XStreamAlias("ver")
private String ver="1.0";
@XStreamAlias("ls_hdr")
pri... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.