diff options
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.eclipselink/src/org/eclipse/emf/teneo/eclipselink/internal/messages')
2 files changed, 106 insertions, 0 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink/src/org/eclipse/emf/teneo/eclipselink/internal/messages/Messages.java b/eclipselink/org.eclipse.emf.teneo.eclipselink/src/org/eclipse/emf/teneo/eclipselink/internal/messages/Messages.java new file mode 100755 index 000000000..cd56c7d3b --- /dev/null +++ b/eclipselink/org.eclipse.emf.teneo.eclipselink/src/org/eclipse/emf/teneo/eclipselink/internal/messages/Messages.java @@ -0,0 +1,59 @@ +/******************************************************************************* + * Copyright (c) 2008 Oracle and Geensys. + * 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 and Geensys - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.teneo.eclipselink.internal.messages; + +import org.eclipse.osgi.util.NLS; + +public class Messages extends NLS { + private static final String BUNDLE_NAME = "org.eclipse.emf.teneo.eclipselink.internal.messages.messages"; //$NON-NLS-1$ + public static String assert_cannotSaveUnloadedResource; + public static String assert_classloaderMustHavePersistenceUnit$0OnClasspath; + public static String assert_invalidObjectId; + public static String assert_unableToCreateEntityManangerFactoryforPersistenceUnit$0; + public static String assert_uriMustContainContentsQueryString; + public static String assert_uriMustContainEclipseLinkScheme; + public static String assert_uriMustContainPersistenceUnitSegment; + public static String exception_cannotSetOwnerOnEList; + public static String exception_collectionClassNotSupported$0; + public static String exception_containsKeyNotImplemented; + public static String exception_containsValueNotImplemented; + public static String exception_errorAddingElementToEList; + public static String exception_errorAddingEntryToEMap; + public static String exception_errorBuildingEListImplementation; + public static String exception_errorDeletingEMapEntries; + public static String exception_errorGettingDelegateList; + public static String exception_errorGettingEntryEClass; + public static String exception_errorGettingFeatureID; + public static String exception_errorGettingListOwner; + public static String exception_errorInvokingCloneOnDelegate; + public static String exception_errorRemovingElementFromEList; + public static String exception_errorSettingEListContents$0; + public static String exception_errorSettingEMapContents; + public static String exception_errorSettingListOwner; + public static String exception_getNotImplemented; + public static String exception_indexOfKeyNotImplemented; + public static String exception_keySetNotImplmplemented; + public static String exception_mapNotImplemented; + public static String exception_putAllNotImplemented; + public static String exception_putNotImplemented; + public static String exception_rehashNotImplemented; + public static String exception_removeKeyNotImplemented; + public static String exception_unableToFindDelegateEListFieldOnBasicEMap; + public static String exception_unusableTemporaryPlaceholderClass; + public static String exception_valuesNotImplemented; + static { + // initialize resource bundle + NLS.initializeMessages(BUNDLE_NAME, Messages.class); + } + + private Messages() { + } +} diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink/src/org/eclipse/emf/teneo/eclipselink/internal/messages/messages.properties b/eclipselink/org.eclipse.emf.teneo.eclipselink/src/org/eclipse/emf/teneo/eclipselink/internal/messages/messages.properties new file mode 100755 index 000000000..660a3d577 --- /dev/null +++ b/eclipselink/org.eclipse.emf.teneo.eclipselink/src/org/eclipse/emf/teneo/eclipselink/internal/messages/messages.properties @@ -0,0 +1,47 @@ +# ==================================================================== +# To code developer: +# Do NOT change the properties between this line and the +# "%%% END OF TRANSLATED PROPERTIES %%%" line. +# Make a new property name, append to the end of the file and change +# the code to use the new property. +# ==================================================================== + +# ==================================================================== +# %%% END OF TRANSLATED PROPERTIES %%% +# ==================================================================== + +assert_cannotSaveUnloadedResource=Cannot save a resource which is not loaded. +assert_classloaderMustHavePersistenceUnit$0OnClasspath=Persistence unit property "PersistenceUnitProperties.CLASSLOADER" must be initialized with some classloader which has persistence unit named "{0}" on its classpath. +assert_invalidObjectId=Invalid object id (expected format: ownerTypeName|idAttributeName="id"). +assert_unableToCreateEntityManangerFactoryforPersistenceUnit$0=Unable to create entity manager factory for persistence unit named "{0}". +assert_uriMustContainContentsQueryString=Argument for parameter "uri" must contain a query string representing an alias of a query for the contents of this resource. +assert_uriMustContainEclipseLinkScheme=Argument for parameter "uri" must contain an "eclipselink:" scheme. +assert_uriMustContainPersistenceUnitSegment=Argument for parameter "uri" must contain one segment representing the name of a Persistence Unit. +exception_cannotSetOwnerOnEList=Cannot set owner on Elist. +exception_collectionClassNotSupported$0=Collection class not supported: {0} +exception_containsKeyNotImplemented=EclipseLinkEMap\#containsKey() not implemented. +exception_containsValueNotImplemented=EclipseLinkEMap\#containsValue() not implemented. +exception_errorAddingElementToEList=Error while adding element to EList. +exception_errorAddingEntryToEMap=Error while adding to EMap. +exception_errorBuildingEListImplementation=Error while building correct EList implementation. +exception_errorDeletingEMapEntries=Error while deleting EMap Entries. +exception_errorGettingDelegateList=Error while getting delegate list. +exception_errorGettingEntryEClass=Error while getting entryEClass. +exception_errorGettingFeatureID=Error while getting featureID. +exception_errorGettingListOwner=Error while getting list owner. +exception_errorInvokingCloneOnDelegate=Error while invoking clone method on delegate. +exception_errorRemovingElementFromEList=Error while removing element from EList. +exception_errorSettingEListContents$0=Error while setting EList contents: unsupported collection class: {0} +exception_errorSettingEMapContents=Error while setting EMap contents. +exception_errorSettingListOwner=Error while setting list owner. +exception_getNotImplemented=EclipseLinkEMap\#get() not implemented +exception_indexOfKeyNotImplemented=EclipseLinkEMap\#indexOfKey() not implemented. +exception_keySetNotImplmplemented=EclipseLinkEMap\#keySet() not implemented. +exception_mapNotImplemented=EclipseLinkEMap\#map() not implemented. +exception_putAllNotImplemented=EclipseLinkEMap\#putAll() not implemented. +exception_putNotImplemented=EclipseLinkEMap\#put() not implemented +exception_rehashNotImplemented=IndirectEMap\#rehash() not implemented. +exception_removeKeyNotImplemented=EclipseLinkEMap\#removeKey() not implemented. +exception_unableToFindDelegateEListFieldOnBasicEMap=Unable to find delegateEList field on BasicEMap. +exception_unusableTemporaryPlaceholderClass=EclipseLinkEList is a temporary placeholder; the usage of this class implies a bug in Teneo. +exception_valuesNotImplemented=EclipseLinkEMap\#values() not implemented. |