All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.storage.table.ODataConstants Maven / Gradle / Ivy

/**
 * Copyright Microsoft Corporation
 * 
 * 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 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 com.microsoft.azure.storage.table;

/**
 * Reserved for internal use. A class that holds relevant constants for interacting with OData feeds.
 */
final class ODataConstants {

    /**
     * The String representation of the Atom Entry etag element name.
     */
    public static final String ETAG = "etag";

    /**
     * The String representation of the JSON annotation prefix
     */
    public static final String ODATA_PREFIX = "odata.";

    /**
     * The String representation of the JSON annotation edm type suffix
     */
    public static final String ODATA_TYPE_SUFFIX = "@odata.type";

    /**
     * The String representation of the JSON value object name
     */
    public static final String VALUE = "value";

    /**
     * The String representation of the Edm.DateTime metadata type attribute value.
     */
    public static final String EDMTYPE_DATETIME = "Edm.DateTime";

    /**
     * The String representation of the Edm.Binary metadata type attribute value.
     */
    public static final String EDMTYPE_BINARY = "Edm.Binary";

    /**
     * The String representation of the Edm.Boolean metadata type attribute value.
     */
    public static final String EDMTYPE_BOOLEAN = "Edm.Boolean";

    /**
     * The String representation of the Edm.Double metadata type attribute value.
     */
    public static final String EDMTYPE_DOUBLE = "Edm.Double";

    /**
     * The String representation of the Edm.Guid metadata type attribute value.
     */
    public static final String EDMTYPE_GUID = "Edm.Guid";

    /**
     * The String representation of the Edm.Int32 metadata type attribute value.
     */
    public static final String EDMTYPE_INT32 = "Edm.Int32";

    /**
     * The String representation of the Edm.Int64 metadata type attribute value.
     */
    public static final String EDMTYPE_INT64 = "Edm.Int64";

    /**
     * The String representation of the Edm.String metadata type attribute value.
     */
    public static final String EDMTYPE_STRING = "Edm.String";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy