001 /*
002 * The MIT License
003 * Copyright (c) 2012 Microsoft Corporation
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023
024 package microsoft.exchange.webservices.data.property.definition;
025
026 import microsoft.exchange.webservices.data.core.enumeration.misc.ExchangeVersion;
027 import microsoft.exchange.webservices.data.core.enumeration.property.PropertyDefinitionFlags;
028
029 import java.util.EnumSet;
030
031 /**
032 * Represents Integer property defintion.
033 */
034 public class IntPropertyDefinition extends GenericPropertyDefinition<Integer> {
035
036 /**
037 * Initializes a new instance of the "IntPropertyDefinition" class.
038 *
039 * @param xmlElementName Name of the XML element.
040 * @param uri The URI.
041 * @param version The version.
042 */
043 public IntPropertyDefinition(String xmlElementName, String uri, ExchangeVersion version) {
044 super(Integer.class, xmlElementName, uri, version);
045 }
046
047 /**
048 * Initializes a new instance of the "IntPropertyDefinition" class.
049 *
050 * @param xmlElementName Name of the XML element.
051 * @param uri The URI.
052 * @param flags The flags.
053 * @param version The version.
054 */
055 public IntPropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags,
056 ExchangeVersion version) {
057 super(Integer.class, xmlElementName, uri, flags, version);
058 }
059
060 /**
061 * Initializes a new instance of the "IntPropertyDefinition" class.
062 *
063 * @param xmlElementName Name of the XML element.
064 * @param uri The URI.
065 * @param flags The flags.
066 * @param version The version.
067 * @param isNullable Indicates that this property definition is for a nullable
068 * property.
069 */
070 public IntPropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags,
071 ExchangeVersion version, boolean isNullable) {
072 super(Integer.class, xmlElementName, uri, flags, version, isNullable);
073 }
074
075
076 }