Back to project page Fall_Prevention_2013.
The source code is released under:
Apache License
If you think the Android project Fall_Prevention_2013 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/******************************************************************************* * Licensed to UbiCollab.org under one or more contributor * license agreements. See the NOTICE file distributed * with this work for additional information regarding * copyright ownership. UbiCollab.org licenses this file * to you 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 * // w w w . java 2 s . c o m * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. ******************************************************************************/ package ntnu.stud.valens.contentprovider; import android.provider.BaseColumns; public class DBSchema { /** * Table schema of raw_steps. * @author fiLLLip * */ public static abstract class RawSteps implements BaseColumns { public static final String TABLE_NAME = "raw_steps"; public static final String COLUMN_NAME_TIMESTAMP = "timestamp"; public static final String COLUMN_NAME_SOURCE = "source"; } /** * Table schema of steps. * @author fiLLLip * */ public static abstract class Steps implements BaseColumns { public static final String TABLE_NAME = "steps"; public static final String COLUMN_NAME_TIMESTAMP = "timestamp"; } /** * Table schema of gaits. * @author fiLLLip * */ public static abstract class Gaits implements BaseColumns { public static final String TABLE_NAME = "gaits"; public static final String COLUMN_NAME_SPEED = "speed"; public static final String COLUMN_NAME_VARIABILITY = "variability"; public static final String COLUMN_NAME_START = "start"; public static final String COLUMN_NAME_STOP = "stop"; } /** * Table schema of tests. * @author fiLLLip * */ public static abstract class Tests implements BaseColumns { public static final String TABLE_NAME = "tests"; public static final String COLUMN_NAME_TIMESTAMP = "timestamp"; public static final String COLUMN_NAME_TYPE_CODE_KEY = "type_code_key"; public static final String COLUMN_NAME_SCORE = "score"; } /** * Table schema of test_types. * @author fiLLLip * */ public static abstract class TestTypes implements BaseColumns { public static final String TABLE_NAME = "test_types"; public static final String COLUMN_NAME_CODE_KEY = "code_key"; public static final String COLUMN_NAME_NAME = "name"; public static final String COLUMN_NAME_DESCRIPTION = "description"; public static final String COLUMN_NAME_SCORE_DESCRIPTION = "score_desc"; } }