blob: b6bf972832222bbd5ee27c81de273a722e7a833b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.jpa.eclipselink.core.context.java;
/**
* EclipseLink Java persistent attribute
*/
public interface JavaEclipseLinkPersistentAttribute
{
/**
* Return whether the attribute's type is a subclass of
* <code>java.util.Date</code> or <code>java.util.Calendar</code>.
*/
boolean typeIsDateOrCalendar();
String DATE_TYPE_NAME = java.util.Date.class.getName();
String CALENDAR_TYPE_NAME = java.util.Calendar.class.getName();
boolean typeIsSerializable();
boolean typeIsValidForVariableOneToOne();
}