Interface Revision

    • Field Detail

      • VERSION_QUALIFIER_FORMAT

        static final java.text.DateFormat VERSION_QUALIFIER_FORMAT
    • Method Detail

      • getState

        State getState()
        Returns the value of the 'State' reference.

        If the meaning of the 'State' reference isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'State' reference.
        See Also:
        setState(State), ClassMakerPackage.getRevision_State()
      • setState

        void setState​(State value)
        Sets the value of the 'State' reference.
        Parameters:
        value - the new value of the 'State' reference.
        See Also:
        getState()
      • getTimestamp

        long getTimestamp()
        Returns the value of the 'Timestamp' attribute.

        If the meaning of the 'Timestamp' attribute isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'Timestamp' attribute.
        See Also:
        #setTimestamp(int), ClassMakerPackage.getRevision_Timestamp()
      • setTimestamp

        void setTimestamp​(long value)
        Sets the value of the 'Timestamp' attribute.
        Parameters:
        value - the new value of the 'Timestamp' attribute.
        See Also:
        getTimestamp()
      • getStateHistory

        org.eclipse.emf.common.util.EMap<java.lang.Long,​State> getStateHistory()
        Returns the value of the 'State History' map. The key is of type Long, and the value is of type State,

        If the meaning of the 'State History' map isn't clear, there really should be more of a description here...

        A States history.
        Returns:
        the value of the 'State History' map.
        See Also:
        ClassMakerPackage.getRevision_StateHistory()
      • getLatestTimestamp

        long getLatestTimestamp()
        Returns the value of the 'Latest Timestamp' attribute.

        Get latest time stamp from state history. If state history is empty, return value of default time stamp.

        Returns:
        the value of the 'Latest Timestamp' attribute.
        See Also:
        ClassMakerPackage.getRevision_LatestTimestamp()
      • setVersion

        void setVersion​(org.osgi.framework.Version value)
        Sets the value of the 'Version' attribute.
        Parameters:
        value - the new value of the 'Version' attribute.
        See Also:
        getVersion()
      • create

        void create​(org.eclipse.core.runtime.IProgressMonitor monitor)
             throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • checkout

        void checkout​(long timestamp,
                      java.lang.String commitId)
      • checkout

        void checkout​(long timestamp)
      • checkout

        void checkout​(java.lang.String commitId)
      • newState

        State newState()
      • delete

        void delete​(org.eclipse.core.runtime.IProgressMonitor monitor)
             throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • addAdapters

        void addAdapters​(org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> adapters)
      • copyModel

        void copyModel​(Revision from)