001/**
002 * Copyright 2014 Tampere University of Technology, Pori Department
003 * 
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 * 
008 *   http://www.apache.org/licenses/LICENSE-2.0
009 * 
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package core.tut.pori.users;
017
018/**
019 * Definitions for the users package.
020 * 
021 */
022public final class Definitions {
023  
024  /* elements */
025  /** xml element declaration */
026  public static final String ELEMENT_EXTERNAL_ACCOUNT_CONNECTION = "externalAccountConnection";
027  /** xml element declaration */
028  public static final String ELEMENT_EXTERNAL_ID = "externalId";
029  /** xml element declaration */
030  public static final String ELEMENT_SERVICE_TYPE = "serviceType";
031  /** xml element declaration */
032  public static final String ELEMENT_USER_ID = "userId";
033  /** xml element declaration */
034  public static final String ELEMENT_USER_IDENTITY = "userDetails";
035  /** xml element declaration */
036  public static final String ELEMENT_USERNAME = "username";
037  
038  /* service types */
039  /** service type name declaration */
040  protected static final String SERVICE_TYPE_GOOGLE = "GOOGLE";
041  /** service type name declaration */
042  protected static final String SERVICE_TYPE_FACEBOOK = "FACEBOOK";
043  /** service type name declaration */
044  protected static final String SERVICE_TYPE_FSIO = "FSIO";
045  /** service type name declaration */
046  protected static final String SERVICE_TYPE_TWITTER = "TWITTER";
047  
048  /**
049   * 
050   */
051  private Definitions(){
052    // nothing needed
053  }
054}