Repository: olingo-odata4 Updated Branches: refs/heads/master 895cd51a4 -> 19f3792f9
http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/19f3792f/ODataJClient/proxy/src/test/java/com/msopentech/odatajclient/proxy/defaultservice/microsoft/test/odata/services/astoriadefaultservice/types/MappedEntityType.java ---------------------------------------------------------------------- diff --git a/ODataJClient/proxy/src/test/java/com/msopentech/odatajclient/proxy/defaultservice/microsoft/test/odata/services/astoriadefaultservice/types/MappedEntityType.java b/ODataJClient/proxy/src/test/java/com/msopentech/odatajclient/proxy/defaultservice/microsoft/test/odata/services/astoriadefaultservice/types/MappedEntityType.java deleted file mode 100644 index 6c72ca3..0000000 --- a/ODataJClient/proxy/src/test/java/com/msopentech/odatajclient/proxy/defaultservice/microsoft/test/odata/services/astoriadefaultservice/types/MappedEntityType.java +++ /dev/null @@ -1,528 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF 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 - * - * 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.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types; - -import com.msopentech.odatajclient.proxy.api.annotations.Namespace; -import com.msopentech.odatajclient.proxy.api.annotations.EntityType; -import com.msopentech.odatajclient.proxy.api.annotations.Key; -import com.msopentech.odatajclient.proxy.api.annotations.KeyRef; -import com.msopentech.odatajclient.proxy.api.annotations.NavigationProperty; -import com.msopentech.odatajclient.proxy.api.annotations.Property; -import com.msopentech.odatajclient.proxy.api.annotations.Operation; -import com.msopentech.odatajclient.proxy.api.annotations.Parameter; -import com.msopentech.odatajclient.engine.metadata.edm.v3.ParameterMode; -import com.msopentech.odatajclient.proxy.api.AbstractComplexType; -import com.msopentech.odatajclient.proxy.api.AbstractOpenType; -import com.msopentech.odatajclient.engine.metadata.EdmContentKind; -import com.msopentech.odatajclient.engine.metadata.edm.ConcurrencyMode; -import com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.*; -import com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types.*; - -// EdmSimpleType property imports -import com.msopentech.odatajclient.engine.data.ODataDuration; -import com.msopentech.odatajclient.engine.data.ODataTimestamp; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.Geospatial; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.GeospatialCollection; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.LineString; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.MultiLineString; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.MultiPoint; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.MultiPolygon; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.Point; -import com.msopentech.odatajclient.engine.metadata.edm.geospatial.Polygon; -import java.math.BigDecimal; -import java.net.URI; -import java.util.UUID; -import java.io.Serializable; -import java.util.Collection; - - -@Namespace("Microsoft.Test.OData.Services.AstoriaDefaultService") -@EntityType(name = "MappedEntityType", - openType = false, - hasStream = false, - isAbstract = false, - baseType = "") -public interface MappedEntityType extends Serializable { - - - @Key - @Property(name = "Id", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Integer getId(); - - public void setId(final Integer _id); - - - @Property(name = "Href", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public String getHref(); - - public void setHref(final String _href); - - - @Property(name = "Title", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public String getTitle(); - - public void setTitle(final String _title); - - - @Property(name = "HrefLang", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public String getHrefLang(); - - public void setHrefLang(final String _hrefLang); - - - @Property(name = "Type", - type = "Edm.String", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public String getType(); - - public void setType(final String _type); - - - @Property(name = "Length", - type = "Edm.Int32", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Integer getLength(); - - public void setLength(final Integer _length); - - - @Property(name = "BagOfPrimitiveToLinks", - type = "Collection(Edm.String)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<String> getBagOfPrimitiveToLinks(); - - public void setBagOfPrimitiveToLinks(final Collection<String> _bagOfPrimitiveToLinks); - - - @Property(name = "Logo", - type = "Edm.Binary", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public byte[] getLogo(); - - public void setLogo(final byte[] _logo); - - - @Property(name = "BagOfDecimals", - type = "Collection(Edm.Decimal)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<BigDecimal> getBagOfDecimals(); - - public void setBagOfDecimals(final Collection<BigDecimal> _bagOfDecimals); - - - @Property(name = "BagOfDoubles", - type = "Collection(Edm.Double)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<Double> getBagOfDoubles(); - - public void setBagOfDoubles(final Collection<Double> _bagOfDoubles); - - - @Property(name = "BagOfSingles", - type = "Collection(Edm.Single)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<Float> getBagOfSingles(); - - public void setBagOfSingles(final Collection<Float> _bagOfSingles); - - - @Property(name = "BagOfBytes", - type = "Collection(Edm.Byte)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<Integer> getBagOfBytes(); - - public void setBagOfBytes(final Collection<Integer> _bagOfBytes); - - - @Property(name = "BagOfInt16s", - type = "Collection(Edm.Int16)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<Short> getBagOfInt16s(); - - public void setBagOfInt16s(final Collection<Short> _bagOfInt16s); - - - @Property(name = "BagOfInt32s", - type = "Collection(Edm.Int32)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<Integer> getBagOfInt32s(); - - public void setBagOfInt32s(final Collection<Integer> _bagOfInt32s); - - - @Property(name = "BagOfInt64s", - type = "Collection(Edm.Int64)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<Long> getBagOfInt64s(); - - public void setBagOfInt64s(final Collection<Long> _bagOfInt64s); - - - @Property(name = "BagOfGuids", - type = "Collection(Edm.Guid)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<UUID> getBagOfGuids(); - - public void setBagOfGuids(final Collection<UUID> _bagOfGuids); - - - @Property(name = "BagOfDateTime", - type = "Collection(Edm.DateTime)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<ODataTimestamp> getBagOfDateTime(); - - public void setBagOfDateTime(final Collection<ODataTimestamp> _bagOfDateTime); - - - @Property(name = "BagOfComplexToCategories", - type = "Collection(Microsoft.Test.OData.Services.AstoriaDefaultService.ComplexToCategory)", - nullable = false, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "", - fcTargetPath = "", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public Collection<com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types.ComplexToCategory> getBagOfComplexToCategories(); - - public void setBagOfComplexToCategories(final Collection<com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types.ComplexToCategory> _bagOfComplexToCategories); - - - @Property(name = "ComplexPhone", - type = "Microsoft.Test.OData.Services.AstoriaDefaultService.Phone", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "PhoneNumber", - fcTargetPath = "SyndicationRights", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types.Phone getComplexPhone(); - - public void setComplexPhone(final com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types.Phone _complexPhone); - - - @Property(name = "ComplexContactDetails", - type = "Microsoft.Test.OData.Services.AstoriaDefaultService.ContactDetails", - nullable = true, - defaultValue = "", - maxLenght = Integer.MAX_VALUE, - fixedLenght = false, - precision = 0, - scale = 0, - unicode = true, - collation = "", - srid = "", - concurrencyMode = ConcurrencyMode.None, - fcSourcePath = "WorkPhone/Extension", - fcTargetPath = "SyndicationSummary", - fcContentKind = EdmContentKind.text, - fcNSPrefix = "", - fcNSURI = "", - fcKeepInContent = true) - public com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types.ContactDetails getComplexContactDetails(); - - public void setComplexContactDetails(final com.msopentech.odatajclient.proxy.defaultservice.microsoft.test.odata.services.astoriadefaultservice.types.ContactDetails _complexContactDetails); - - - - - -}
