Fixing timezone issues with proxy

This commit is contained in:
Francesco Chicchiriccò 2014-05-09 10:32:40 +02:00
parent bc0a8d9d86
commit e5cfd8eb13
193 changed files with 357 additions and 515 deletions

View File

@ -24,7 +24,9 @@ import java.lang.reflect.Method;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.net.URI;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
@ -36,8 +38,10 @@ import org.apache.olingo.client.core.edm.xml.AbstractComplexType;
import org.apache.olingo.commons.api.domain.CommonODataEntity;
import org.apache.olingo.commons.api.domain.CommonODataProperty;
import org.apache.olingo.commons.api.domain.ODataLink;
import org.apache.olingo.commons.api.domain.ODataPrimitiveValue;
import org.apache.olingo.commons.api.domain.ODataValue;
import org.apache.olingo.commons.api.edm.Edm;
import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException;
import org.apache.olingo.commons.api.edm.EdmType;
import org.apache.olingo.commons.api.edm.FullQualifiedName;
import org.apache.olingo.commons.api.edm.constants.ODataServiceVersion;
@ -169,8 +173,8 @@ public final class EngineUtils {
} else {
oprop = ((org.apache.olingo.commons.api.domain.v4.ODataObjectFactory) client.getObjectFactory()).
newEnumProperty(name,
((org.apache.olingo.commons.api.domain.v4.ODataValue) getODataValue(client, type, obj)).
asEnum());
((org.apache.olingo.commons.api.domain.v4.ODataValue) getODataValue(client, type, obj)).
asEnum());
}
} else {
throw new UnsupportedOperationException("Usupported object type " + type.getFullQualifiedName());
@ -200,6 +204,21 @@ public final class EngineUtils {
}
}
private static Object primitiveValueToObject(final ODataPrimitiveValue value) {
Object obj;
try {
obj = value.toValue() instanceof Timestamp
? value.toCastValue(Calendar.class)
: value.toValue();
} catch (EdmPrimitiveTypeException e) {
LOG.warn("Could not read temporal value as Calendar, reverting to Timestamp", e);
obj = value.toValue();
}
return obj;
}
@SuppressWarnings("unchecked")
private static void setPropertyValue(final Object bean, final Method getter, final Object value)
throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
@ -211,18 +230,16 @@ public final class EngineUtils {
public static Object getKey(
final Edm metadata, final Class<?> entityTypeRef, final CommonODataEntity entity) {
final Object res;
if (entity.getProperties().isEmpty()) {
res = null;
} else {
Object res = null;
if (!entity.getProperties().isEmpty()) {
final Class<?> keyRef = ClassUtils.getCompoundKeyRef(entityTypeRef);
if (keyRef == null) {
final CommonODataProperty property = entity.getProperty(firstValidEntityKey(entityTypeRef));
res = property == null || !property.hasPrimitiveValue()
? null
: property.getPrimitiveValue().toValue();
if (property != null && property.hasPrimitiveValue()) {
res = primitiveValueToObject(property.getPrimitiveValue());
}
} else {
try {
res = keyRef.newInstance();
@ -270,7 +287,7 @@ public final class EngineUtils {
setPropertyValue(bean, getter, null);
}
if (property.hasPrimitiveValue()) {
setPropertyValue(bean, getter, property.getPrimitiveValue().toValue());
setPropertyValue(bean, getter, primitiveValueToObject(property.getPrimitiveValue()));
}
if (property.hasComplexValue()) {
final Object complex = getter.getReturnType().newInstance();
@ -291,7 +308,7 @@ public final class EngineUtils {
while (collPropItor.hasNext()) {
final ODataValue value = collPropItor.next();
if (value.isPrimitive()) {
collection.add(value.asPrimitive().toValue());
collection.add(primitiveValueToObject(value.asPrimitive()));
}
if (value.isComplex()) {
final Object collItem = collItemClass.newInstance();
@ -323,7 +340,7 @@ public final class EngineUtils {
while (collPropItor.hasNext()) {
final ODataValue odataValue = collPropItor.next();
if (odataValue.isPrimitive()) {
((Collection) value).add(odataValue.asPrimitive().toValue());
((Collection) value).add(primitiveValueToObject(odataValue.asPrimitive()));
}
if (odataValue.isComplex()) {
final Object collItem =
@ -332,7 +349,7 @@ public final class EngineUtils {
}
}
} else if (property.hasPrimitiveValue()) {
value = property.getPrimitiveValue().toValue();
value = primitiveValueToObject(property.getPrimitiveValue());
} else if (property.hasComplexValue()) {
value = buildComplexInstance(
metadata, property.getValue().asComplex().getTypeName(), property.getValue().asComplex().iterator());
@ -378,7 +395,7 @@ public final class EngineUtils {
while (collPropItor.hasNext()) {
final ODataValue odataValue = collPropItor.next();
if (odataValue.isPrimitive()) {
((Collection) value).add(odataValue.asPrimitive().toValue());
((Collection) value).add(primitiveValueToObject(odataValue.asPrimitive()));
}
if (odataValue.isComplex()) {
final Object collItem = collItemClass.newInstance();
@ -387,7 +404,7 @@ public final class EngineUtils {
}
}
} else if (property.hasPrimitiveValue()) {
value = property.getPrimitiveValue().toValue();
value = primitiveValueToObject(property.getPrimitiveValue());
} else {
throw new IllegalArgumentException("Invalid property " + property);
}

View File

@ -19,9 +19,7 @@
package org.apache.olingo.ext.pojogen;
import java.io.InputStream;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
@ -275,7 +273,7 @@ public abstract class AbstractUtility {
res.append(InputStream.class.getName());
} else if (edmType.isPrimitiveType()) {
final Class<?> clazz = EdmPrimitiveTypeFactory.getInstance(edmType.getPrimitiveTypeKind()).getDefaultType();
res.append((clazz.isAssignableFrom(Calendar.class) ? Timestamp.class : clazz).getSimpleName());
res.append(clazz.getSimpleName());
} else if (edmType.isComplexType()) {
res.append(basePackage).append('.').
append(edmType.getFullQualifiedName().getNamespace().toLowerCase()). // namespace

View File

@ -41,7 +41,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
#parse( "${odataVersion}/complexType.vm" )

View File

@ -45,7 +45,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@Namespace("$namespace")

View File

@ -42,7 +42,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface $utility.capitalize($entityType.Name)Collection extends AbstractEntityCollection<$utility.capitalize($entityType.Name)> {

View File

@ -41,7 +41,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
#set( $keys = $utility.getEntityKeyType($entitySet) )

View File

@ -51,7 +51,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
#if( $keyRef )@KeyRef(${keyRef}.class)#end

View File

@ -46,7 +46,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@CompoundKey

View File

@ -42,7 +42,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
#parse( "${odataVersion}/singleton.vm" )

View File

@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.lang.reflect.Proxy;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Collection;
import org.apache.commons.lang3.StringUtils;
import org.apache.olingo.commons.api.edm.geo.Geospatial;
@ -132,19 +132,23 @@ public class EntityRetrieveTestITCase extends AbstractTest {
public void navigate() {
final Order order = getContainer().getOrder().get(-9);
assertNotNull(order);
assertEquals(Integer.valueOf(-9), order.getOrderId());
assertEquals(-9, order.getOrderId(), 0);
final ConcurrencyInfo concurrency = order.getConcurrency();
assertNotNull(concurrency);
assertEquals(Timestamp.valueOf("2012-02-12 11:32:50.005072026"), concurrency.getQueriedDateTime());
assertEquals(Integer.valueOf(78), order.getCustomerId());
final Calendar actual = Calendar.getInstance();
actual.clear();
actual.set(2012, 1, 12, 11, 32, 50);
actual.set(Calendar.MILLISECOND, 507);
assertEquals(actual.getTimeInMillis(), concurrency.getQueriedDateTime().getTimeInMillis());
assertEquals(78, order.getCustomerId(), 0);
}
@Test
public void withGeospatial() {
final AllSpatialTypes allSpatialTypes = getContainer().getAllGeoTypesSet().get(-10);
assertNotNull(allSpatialTypes);
assertEquals(Integer.valueOf(-10), allSpatialTypes.getId());
assertEquals(-10, allSpatialTypes.getId(), 0);
final MultiLineString geogMultiLine = allSpatialTypes.getGeogMultiLine();
assertNotNull(geogMultiLine);
@ -165,7 +169,7 @@ public class EntityRetrieveTestITCase extends AbstractTest {
final Customer customer = readCustomer(getContainer(), -10);
final CustomerInfo customerInfo = customer.getInfo();
assertNotNull(customerInfo);
assertEquals(Integer.valueOf(11), customerInfo.getCustomerInfoId());
assertEquals(11, customerInfo.getCustomerInfoId(), 0);
}
@Test
@ -178,12 +182,12 @@ public class EntityRetrieveTestITCase extends AbstractTest {
@Test
public void withActions() {
final ComputerDetail computerDetail = getContainer().getComputerDetail().get(-10);
assertEquals(Integer.valueOf(-10), computerDetail.getComputerDetailId());
assertEquals(-10, computerDetail.getComputerDetailId(), 0);
try {
assertNotNull(
computerDetail.operations().getClass().getMethod(
"resetComputerDetailsSpecifications", Collection.class, Timestamp.class));
"resetComputerDetailsSpecifications", Collection.class, Calendar.class));
} catch (Exception e) {
fail();
}

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.client.api.http.HttpMethod;
@ -43,7 +42,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@Namespace("Microsoft.Test.OData.Services.AstoriaDefaultService")

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;
import org.apache.olingo.ext.proxy.api.AbstractEntitySet;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,6 +16,5 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface AllSpatialCollectionTypesCollection extends AbstractEntityCollection<AllSpatialCollectionTypes> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface AllSpatialCollectionTypes_SimpleCollection extends AbstractEntityCollection<AllSpatialCollectionTypes_Simple> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface AllSpatialTypesCollection extends AbstractEntityCollection<AllSpatialTypes> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -50,9 +49,9 @@ public interface AuditInfo extends Serializable {
@Property(name = "ModifiedDate", type = "Edm.DateTime", nullable = false)
Timestamp getModifiedDate();
Calendar getModifiedDate();
void setModifiedDate(final Timestamp _modifiedDate);
void setModifiedDate(final Calendar _modifiedDate);

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@KeyRef(OrderLineKey.class)

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@KeyRef(OrderLineKey.class)

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface BackOrderLine2Collection extends AbstractEntityCollection<BackOrderLine2> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface BackOrderLineCollection extends AbstractEntityCollection<BackOrderLine> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface CarCollection extends AbstractEntityCollection<Car> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -71,9 +70,9 @@ public interface ComplexWithAllPrimitiveTypes extends Serializable {
@Property(name = "DateTime", type = "Edm.DateTime", nullable = false)
Timestamp getDateTime();
Calendar getDateTime();
void setDateTime(final Timestamp _dateTime);
void setDateTime(final Calendar _dateTime);

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface ComputerCollection extends AbstractEntityCollection<Computer> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -196,9 +195,9 @@ public interface ComputerDetail
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getPurchaseDate();
Calendar getPurchaseDate();
void setPurchaseDate(final Timestamp _purchaseDate);
void setPurchaseDate(final Calendar _purchaseDate);
@Property(name = "Dimensions",
@ -245,7 +244,7 @@ public interface ComputerDetail
isComposable = false)
void resetComputerDetailsSpecifications(
@Parameter(name = "specifications", type = "Collection(Edm.String)", nullable = false) Collection<String> specifications,
@Parameter(name = "purchaseTime", type = "Edm.DateTime", nullable = false) Timestamp purchaseTime
@Parameter(name = "purchaseTime", type = "Edm.DateTime", nullable = false) Calendar purchaseTime
);

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface ComputerDetailCollection extends AbstractEntityCollection<ComputerDetail> {
@ -54,7 +53,7 @@ public interface ComputerDetailCollection extends AbstractEntityCollection<Compu
isComposable = false)
void resetComputerDetailsSpecifications(
@Parameter(name = "specifications", type = "Collection(Edm.String)", nullable = false) Collection<String> specifications,
@Parameter(name = "purchaseTime", type = "Edm.DateTime", nullable = false) Timestamp purchaseTime
@Parameter(name = "purchaseTime", type = "Edm.DateTime", nullable = false) Calendar purchaseTime
);

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -57,9 +56,9 @@ public interface ConcurrencyInfo extends Serializable {
@Property(name = "QueriedDateTime", type = "Edm.DateTime", nullable = true)
Timestamp getQueriedDateTime();
Calendar getQueriedDateTime();
void setQueriedDateTime(final Timestamp _queriedDateTime);
void setQueriedDateTime(final Calendar _queriedDateTime);
}

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface ContractorCollection extends AbstractEntityCollection<Contractor> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface CustomerCollection extends AbstractEntityCollection<Customer> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface CustomerInfoCollection extends AbstractEntityCollection<CustomerInfo> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -246,9 +245,9 @@ public interface DiscontinuedProduct
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getDiscontinued();
Calendar getDiscontinued();
void setDiscontinued(final Timestamp _discontinued);
void setDiscontinued(final Calendar _discontinued);
@Property(name = "ReplacementProductId",

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface DiscontinuedProductCollection extends AbstractEntityCollection<DiscontinuedProduct> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -104,9 +103,9 @@ public interface Driver
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getBirthDate();
Calendar getBirthDate();
void setBirthDate(final Timestamp _birthDate);
void setBirthDate(final Calendar _birthDate);

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface DriverCollection extends AbstractEntityCollection<Driver> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface EmployeeCollection extends AbstractEntityCollection<Employee> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -104,9 +103,9 @@ public interface LastLogin
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getLoggedIn();
Calendar getLoggedIn();
void setLoggedIn(final Timestamp _loggedIn);
void setLoggedIn(final Calendar _loggedIn);
@Property(name = "LoggedOut",
@ -127,9 +126,9 @@ public interface LastLogin
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getLoggedOut();
Calendar getLoggedOut();
void setLoggedOut(final Timestamp _loggedOut);
void setLoggedOut(final Calendar _loggedOut);
@Property(name = "Duration",

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface LastLoginCollection extends AbstractEntityCollection<LastLogin> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -173,9 +172,9 @@ public interface License
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getExpirationDate();
Calendar getExpirationDate();
void setExpirationDate(final Timestamp _expirationDate);
void setExpirationDate(final Calendar _expirationDate);

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface LicenseCollection extends AbstractEntityCollection<License> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface LoginCollection extends AbstractEntityCollection<Login> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -449,9 +448,9 @@ public interface MappedEntityType
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Collection<Timestamp> getBagOfDateTime();
Collection<Calendar> getBagOfDateTime();
void setBagOfDateTime(final Collection<Timestamp> _bagOfDateTime);
void setBagOfDateTime(final Collection<Calendar> _bagOfDateTime);
@Property(name = "BagOfComplexToCategories",

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface MappedEntityTypeCollection extends AbstractEntityCollection<MappedEntityType> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@KeyRef(MessageKey.class)
@ -150,9 +149,9 @@ public interface Message
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getSent();
Calendar getSent();
void setSent(final Timestamp _sent);
void setSent(final Calendar _sent);
@Property(name = "Subject",

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface MessageAttachmentCollection extends AbstractEntityCollection<MessageAttachment> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface MessageCollection extends AbstractEntityCollection<Message> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.EntityType;
@ -45,7 +44,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@CompoundKey

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface OrderCollection extends AbstractEntityCollection<Order> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@KeyRef(OrderLineKey.class)

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface OrderLineCollection extends AbstractEntityCollection<OrderLine> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.EntityType;
@ -45,7 +44,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@CompoundKey

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
@ -127,9 +126,9 @@ public interface PageView
fcNSPrefix = "",
fcNSURI = "",
fcKeepInContent = false)
Timestamp getViewed();
Calendar getViewed();
void setViewed(final Timestamp _viewed);
void setViewed(final Calendar _viewed);
@Property(name = "TimeSpentOnPage",

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface PageViewCollection extends AbstractEntityCollection<PageView> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface PersonCollection extends AbstractEntityCollection<Person> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface PersonMetadataCollection extends AbstractEntityCollection<PersonMetadata> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.ext.proxy.api.annotations.Namespace;
@ -40,7 +39,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface ProductCollection extends AbstractEntityCollection<Product> {

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -49,7 +48,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;

View File

@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.olingo.fit.proxy.v3.staticservice.microsoft.test.odata.services.astoriadefaultservice.types;
import org.apache.olingo.client.api.http.HttpMethod;
@ -41,7 +40,7 @@ import java.net.URI;
import java.util.UUID;
import java.io.Serializable;
import java.util.Collection;
import java.sql.Timestamp;
import java.util.Calendar;
import javax.xml.datatype.Duration;
public interface ProductDetailCollection extends AbstractEntityCollection<ProductDetail> {

Some files were not shown because too many files have changed in this diff Show More