Package org.jabylon.properties.impl
Class PropertyFileDescriptorImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
- org.eclipse.emf.internal.cdo.CDOObjectImpl
-
- org.jabylon.properties.impl.ResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
- org.jabylon.properties.impl.PropertyFileDescriptorImpl
-
- All Implemented Interfaces:
org.eclipse.emf.cdo.CDOObject,org.eclipse.emf.cdo.common.id.CDOWithID,org.eclipse.emf.cdo.common.model.CDOPackageTypeRegistry.CDOObjectMarker,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,org.eclipse.emf.spi.cdo.InternalCDOLoadable,org.eclipse.emf.spi.cdo.InternalCDOObject,PropertyFileDescriptor,Resolvable<Resolvable<?,?>,PropertyFileDescriptor>
public class PropertyFileDescriptorImpl extends ResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor> implements PropertyFileDescriptor
An implementation of the model object 'Property File Descriptor'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected static intKEYS_EDEFAULTThe default value of the 'Keys' attribute.protected static longLAST_MODIFIED_EDEFAULTThe default value of the 'Last Modified' attribute.protected static org.eclipse.emf.common.util.URILOCATION_EDEFAULTThe default value of the 'Location' attribute.protected static LocaleVARIANT_EDEFAULTThe default value of the 'Variant' attribute.-
Fields inherited from class org.jabylon.properties.impl.ResolvableImpl
NAME_EDEFAULT, PERCENT_COMPLETE_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPropertyFileDescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetMaster(PropertyFileDescriptor newMaster, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetProjectLocale(ProjectLocale newProjectLocale, org.eclipse.emf.common.notify.NotificationChain msgs)ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)org.eclipse.emf.common.util.EList<PropertyFileDescriptor>getDerivedDescriptors()intgetKeys()CommentgetLastModification()longgetLastModified()org.eclipse.emf.common.util.URIgetLocation()PropertyFileDescriptorgetMaster()ProjectLocalegetProjectLocale()org.eclipse.emf.common.util.EList<Review>getReviews()LocalegetVariant()intinternalUpdatePercentComplete()booleanisMaster()PropertyFileloadProperties()PropertyFileloadProperties(InputStream in)voidsetKeys(int newKeys)voidsetLastModification(Comment newLastModification)voidsetLastModified(long newLastModified)voidsetLocation(org.eclipse.emf.common.util.URI newLocation)voidsetMaster(PropertyFileDescriptor newMaster)voidsetProjectLocale(ProjectLocale newProjectLocale)voidsetVariant(Locale newVariant)StringtoString()-
Methods inherited from class org.jabylon.properties.impl.ResolvableImpl
absoluteFilePath, absolutPath, basicSetParent, eBasicRemoveFromContainerFeature, eStaticFeatureCount, fullPath, getChild, getChildren, getName, getParent, getPercentComplete, relativePath, resolveChild, resolveChild, setName, setParent, setPercentComplete, toURI, updatePercentComplete
-
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.jabylon.properties.Resolvable
absoluteFilePath, absolutPath, fullPath, getChild, getChildren, getName, getParent, getPercentComplete, relativePath, resolveChild, resolveChild, setName, setParent, setPercentComplete, toURI, updatePercentComplete
-
-
-
-
Field Detail
-
VARIANT_EDEFAULT
protected static final Locale VARIANT_EDEFAULT
The default value of the 'Variant' attribute.- See Also:
getVariant()
-
LOCATION_EDEFAULT
protected static final org.eclipse.emf.common.util.URI LOCATION_EDEFAULT
The default value of the 'Location' attribute.- See Also:
getLocation()
-
KEYS_EDEFAULT
protected static final int KEYS_EDEFAULT
The default value of the 'Keys' attribute.- See Also:
getKeys(), Constant Field Values
-
LAST_MODIFIED_EDEFAULT
protected static final long LAST_MODIFIED_EDEFAULT
The default value of the 'Last Modified' attribute.- See Also:
getLastModified(), Constant Field Values
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
getVariant
public Locale getVariant()
- Specified by:
getVariantin interfacePropertyFileDescriptor- Returns:
- the value of the 'Variant' attribute.
- See Also:
PropertyFileDescriptor.setVariant(Locale),PropertiesPackage.getPropertyFileDescriptor_Variant()
-
setVariant
public void setVariant(Locale newVariant)
- Specified by:
setVariantin interfacePropertyFileDescriptor- Parameters:
newVariant- the new value of the 'Variant' attribute.- See Also:
PropertyFileDescriptor.getVariant()
-
getLocation
public org.eclipse.emf.common.util.URI getLocation()
- Specified by:
getLocationin interfacePropertyFileDescriptor- Returns:
- the value of the 'Location' attribute.
- See Also:
PropertyFileDescriptor.setLocation(URI),PropertiesPackage.getPropertyFileDescriptor_Location()
-
setLocation
public void setLocation(org.eclipse.emf.common.util.URI newLocation)
- Specified by:
setLocationin interfacePropertyFileDescriptor- Parameters:
newLocation- the new value of the 'Location' attribute.- See Also:
PropertyFileDescriptor.getLocation()
-
isMaster
public boolean isMaster()
- Specified by:
isMasterin interfacePropertyFileDescriptor
-
loadProperties
public PropertyFile loadProperties()
- Specified by:
loadPropertiesin interfacePropertyFileDescriptor
-
loadProperties
public PropertyFile loadProperties(InputStream in)
- Specified by:
loadPropertiesin interfacePropertyFileDescriptor
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseAddin classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
getMaster
public PropertyFileDescriptor getMaster()
- Specified by:
getMasterin interfacePropertyFileDescriptor- Returns:
- the value of the 'Master' reference.
- See Also:
PropertyFileDescriptor.setMaster(PropertyFileDescriptor),PropertiesPackage.getPropertyFileDescriptor_Master(),PropertyFileDescriptor.getDerivedDescriptors()
-
basicSetMaster
public org.eclipse.emf.common.notify.NotificationChain basicSetMaster(PropertyFileDescriptor newMaster, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setMaster
public void setMaster(PropertyFileDescriptor newMaster)
- Specified by:
setMasterin interfacePropertyFileDescriptor- Parameters:
newMaster- the new value of the 'Master' reference.- See Also:
PropertyFileDescriptor.getMaster()
-
getProjectLocale
public ProjectLocale getProjectLocale()
- Specified by:
getProjectLocalein interfacePropertyFileDescriptor- Returns:
- the value of the 'Project Locale' reference.
- See Also:
PropertyFileDescriptor.setProjectLocale(ProjectLocale),PropertiesPackage.getPropertyFileDescriptor_ProjectLocale(),ProjectLocale.getDescriptors()
-
basicSetProjectLocale
public org.eclipse.emf.common.notify.NotificationChain basicSetProjectLocale(ProjectLocale newProjectLocale, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setProjectLocale
public void setProjectLocale(ProjectLocale newProjectLocale)
- Specified by:
setProjectLocalein interfacePropertyFileDescriptor- Parameters:
newProjectLocale- the new value of the 'Project Locale' reference.- See Also:
PropertyFileDescriptor.getProjectLocale()
-
getKeys
public int getKeys()
- Specified by:
getKeysin interfacePropertyFileDescriptor- Returns:
- the value of the 'Keys' attribute.
- See Also:
PropertyFileDescriptor.setKeys(int),PropertiesPackage.getPropertyFileDescriptor_Keys()
-
setKeys
public void setKeys(int newKeys)
- Specified by:
setKeysin interfacePropertyFileDescriptor- Parameters:
newKeys- the new value of the 'Keys' attribute.- See Also:
PropertyFileDescriptor.getKeys()
-
getReviews
public org.eclipse.emf.common.util.EList<Review> getReviews()
- Specified by:
getReviewsin interfacePropertyFileDescriptor- Returns:
- the value of the 'Reviews' containment reference list.
- See Also:
PropertiesPackage.getPropertyFileDescriptor_Reviews()
-
getLastModified
public long getLastModified()
- Specified by:
getLastModifiedin interfacePropertyFileDescriptor- Returns:
- the value of the 'Last Modified' attribute.
- See Also:
PropertyFileDescriptor.setLastModified(long),PropertiesPackage.getPropertyFileDescriptor_LastModified()
-
setLastModified
public void setLastModified(long newLastModified)
- Specified by:
setLastModifiedin interfacePropertyFileDescriptor- Parameters:
newLastModified- the new value of the 'Last Modified' attribute.- See Also:
PropertyFileDescriptor.getLastModified()
-
getLastModification
public Comment getLastModification()
- Specified by:
getLastModificationin interfacePropertyFileDescriptor- Returns:
- the value of the 'Last Modification' reference.
- See Also:
PropertyFileDescriptor.setLastModification(Comment),PropertiesPackage.getPropertyFileDescriptor_LastModification()
-
setLastModification
public void setLastModification(Comment newLastModification)
- Specified by:
setLastModificationin interfacePropertyFileDescriptor- Parameters:
newLastModification- the new value of the 'Last Modification' reference.- See Also:
PropertyFileDescriptor.getLastModification()
-
getDerivedDescriptors
public org.eclipse.emf.common.util.EList<PropertyFileDescriptor> getDerivedDescriptors()
- Specified by:
getDerivedDescriptorsin interfacePropertyFileDescriptor- Returns:
- the value of the 'Derived Descriptors' reference list.
- See Also:
PropertiesPackage.getPropertyFileDescriptor_DerivedDescriptors(),PropertyFileDescriptor.getMaster()
-
internalUpdatePercentComplete
public int internalUpdatePercentComplete()
- Overrides:
internalUpdatePercentCompletein classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
toString
public String toString()
- Overrides:
toStringin classResolvableImpl<Resolvable<?,?>,PropertyFileDescriptor>
-
-