
org.bimserver.models.store.Revision Maven / Gradle / Ivy
Show all versions of pluginbase Show documentation
/**
* Copyright (C) 2009-2014 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package org.bimserver.models.store;
import java.util.Date;
import org.bimserver.emf.IdEObject;
import org.bimserver.models.log.RevisionRelated;
import org.eclipse.emf.common.util.EList;
/**
*
* A representation of the model object 'Revision'.
*
*
*
* The following features are supported:
*
*
* - {@link org.bimserver.models.store.Revision#getId Id}
* - {@link org.bimserver.models.store.Revision#getUser User}
* - {@link org.bimserver.models.store.Revision#getDate Date}
* - {@link org.bimserver.models.store.Revision#getComment Comment}
* - {@link org.bimserver.models.store.Revision#getSize Size}
* - {@link org.bimserver.models.store.Revision#getConcreteRevisions Concrete Revisions}
* - {@link org.bimserver.models.store.Revision#getLastConcreteRevision Last Concrete Revision}
* - {@link org.bimserver.models.store.Revision#getCheckouts Checkouts}
* - {@link org.bimserver.models.store.Revision#getProject Project}
* - {@link org.bimserver.models.store.Revision#getTag Tag}
* - {@link org.bimserver.models.store.Revision#getLastError Last Error}
* - {@link org.bimserver.models.store.Revision#getBmi Bmi}
* - {@link org.bimserver.models.store.Revision#getExtendedData Extended Data}
* - {@link org.bimserver.models.store.Revision#getLogs Logs}
* - {@link org.bimserver.models.store.Revision#getService Service}
* - {@link org.bimserver.models.store.Revision#isHasGeometry Has Geometry}
*
*
* @see org.bimserver.models.store.StorePackage#getRevision()
* @model
* @extends IdEObject
* @generated
*/
public interface Revision extends IdEObject {
/**
* Returns the value of the 'Id' attribute.
*
*
* If the meaning of the 'Id' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Id' attribute.
* @see #setId(Integer)
* @see org.bimserver.models.store.StorePackage#getRevision_Id()
* @model
* @generated
*/
Integer getId();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getId Id}' attribute.
*
*
* @param value the new value of the 'Id' attribute.
* @see #getId()
* @generated
*/
void setId(Integer value);
/**
* Returns the value of the 'User' reference.
* It is bidirectional and its opposite is '{@link org.bimserver.models.store.User#getRevisions Revisions}'.
*
*
* If the meaning of the 'User' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'User' reference.
* @see #setUser(User)
* @see org.bimserver.models.store.StorePackage#getRevision_User()
* @see org.bimserver.models.store.User#getRevisions
* @model opposite="revisions"
* @generated
*/
User getUser();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getUser User}' reference.
*
*
* @param value the new value of the 'User' reference.
* @see #getUser()
* @generated
*/
void setUser(User value);
/**
* Returns the value of the 'Date' attribute.
*
*
* If the meaning of the 'Date' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Date' attribute.
* @see #setDate(Date)
* @see org.bimserver.models.store.StorePackage#getRevision_Date()
* @model
* @generated
*/
Date getDate();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getDate Date}' attribute.
*
*
* @param value the new value of the 'Date' attribute.
* @see #getDate()
* @generated
*/
void setDate(Date value);
/**
* Returns the value of the 'Comment' attribute.
*
*
* If the meaning of the 'Comment' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Comment' attribute.
* @see #setComment(String)
* @see org.bimserver.models.store.StorePackage#getRevision_Comment()
* @model
* @generated
*/
String getComment();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getComment Comment}' attribute.
*
*
* @param value the new value of the 'Comment' attribute.
* @see #getComment()
* @generated
*/
void setComment(String value);
/**
* Returns the value of the 'Size' attribute.
*
*
* If the meaning of the 'Size' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Size' attribute.
* @see #setSize(Long)
* @see org.bimserver.models.store.StorePackage#getRevision_Size()
* @model
* @generated
*/
Long getSize();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getSize Size}' attribute.
*
*
* @param value the new value of the 'Size' attribute.
* @see #getSize()
* @generated
*/
void setSize(Long value);
/**
* Returns the value of the 'Concrete Revisions' reference list.
* The list contents are of type {@link org.bimserver.models.store.ConcreteRevision}.
* It is bidirectional and its opposite is '{@link org.bimserver.models.store.ConcreteRevision#getRevisions Revisions}'.
*
*
* If the meaning of the 'Concrete Revisions' reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Concrete Revisions' reference list.
* @see org.bimserver.models.store.StorePackage#getRevision_ConcreteRevisions()
* @see org.bimserver.models.store.ConcreteRevision#getRevisions
* @model opposite="revisions"
* @generated
*/
EList getConcreteRevisions();
/**
* Returns the value of the 'Last Concrete Revision' reference.
*
*
* If the meaning of the 'Last Concrete Revision' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Last Concrete Revision' reference.
* @see #setLastConcreteRevision(ConcreteRevision)
* @see org.bimserver.models.store.StorePackage#getRevision_LastConcreteRevision()
* @model
* @generated
*/
ConcreteRevision getLastConcreteRevision();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getLastConcreteRevision Last Concrete Revision}' reference.
*
*
* @param value the new value of the 'Last Concrete Revision' reference.
* @see #getLastConcreteRevision()
* @generated
*/
void setLastConcreteRevision(ConcreteRevision value);
/**
* Returns the value of the 'Checkouts' reference list.
* The list contents are of type {@link org.bimserver.models.store.Checkout}.
* It is bidirectional and its opposite is '{@link org.bimserver.models.store.Checkout#getRevision Revision}'.
*
*
* If the meaning of the 'Checkouts' reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Checkouts' reference list.
* @see org.bimserver.models.store.StorePackage#getRevision_Checkouts()
* @see org.bimserver.models.store.Checkout#getRevision
* @model opposite="revision"
* @generated
*/
EList getCheckouts();
/**
* Returns the value of the 'Project' reference.
* It is bidirectional and its opposite is '{@link org.bimserver.models.store.Project#getRevisions Revisions}'.
*
*
* If the meaning of the 'Project' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Project' reference.
* @see #setProject(Project)
* @see org.bimserver.models.store.StorePackage#getRevision_Project()
* @see org.bimserver.models.store.Project#getRevisions
* @model opposite="revisions"
* @generated
*/
Project getProject();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getProject Project}' reference.
*
*
* @param value the new value of the 'Project' reference.
* @see #getProject()
* @generated
*/
void setProject(Project value);
/**
* Returns the value of the 'Tag' attribute.
*
*
* If the meaning of the 'Tag' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Tag' attribute.
* @see #setTag(String)
* @see org.bimserver.models.store.StorePackage#getRevision_Tag()
* @model
* @generated
*/
String getTag();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getTag Tag}' attribute.
*
*
* @param value the new value of the 'Tag' attribute.
* @see #getTag()
* @generated
*/
void setTag(String value);
/**
* Returns the value of the 'Last Error' attribute.
*
*
* If the meaning of the 'Last Error' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Last Error' attribute.
* @see #setLastError(String)
* @see org.bimserver.models.store.StorePackage#getRevision_LastError()
* @model
* @generated
*/
String getLastError();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getLastError Last Error}' attribute.
*
*
* @param value the new value of the 'Last Error' attribute.
* @see #getLastError()
* @generated
*/
void setLastError(String value);
/**
* Returns the value of the 'Bmi' attribute.
*
*
* If the meaning of the 'Bmi' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Bmi' attribute.
* @see #setBmi(Integer)
* @see org.bimserver.models.store.StorePackage#getRevision_Bmi()
* @model
* @generated
*/
Integer getBmi();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getBmi Bmi}' attribute.
*
*
* @param value the new value of the 'Bmi' attribute.
* @see #getBmi()
* @generated
*/
void setBmi(Integer value);
/**
* Returns the value of the 'Extended Data' reference list.
* The list contents are of type {@link org.bimserver.models.store.ExtendedData}.
* It is bidirectional and its opposite is '{@link org.bimserver.models.store.ExtendedData#getRevision Revision}'.
*
*
* If the meaning of the 'Extended Data' reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Extended Data' reference list.
* @see org.bimserver.models.store.StorePackage#getRevision_ExtendedData()
* @see org.bimserver.models.store.ExtendedData#getRevision
* @model opposite="revision"
* @generated
*/
EList getExtendedData();
/**
* Returns the value of the 'Logs' reference list.
* The list contents are of type {@link org.bimserver.models.log.RevisionRelated}.
* It is bidirectional and its opposite is '{@link org.bimserver.models.log.RevisionRelated#getRevision Revision}'.
*
*
* If the meaning of the 'Logs' reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Logs' reference list.
* @see org.bimserver.models.store.StorePackage#getRevision_Logs()
* @see org.bimserver.models.log.RevisionRelated#getRevision
* @model opposite="revision"
* @generated
*/
EList getLogs();
/**
* Returns the value of the 'Service' reference.
*
*
* If the meaning of the 'Service' reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Service' reference.
* @see #setService(Service)
* @see org.bimserver.models.store.StorePackage#getRevision_Service()
* @model
* @generated
*/
Service getService();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#getService Service}' reference.
*
*
* @param value the new value of the 'Service' reference.
* @see #getService()
* @generated
*/
void setService(Service value);
/**
* Returns the value of the 'Has Geometry' attribute.
*
*
* If the meaning of the 'Has Geometry' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Has Geometry' attribute.
* @see #setHasGeometry(boolean)
* @see org.bimserver.models.store.StorePackage#getRevision_HasGeometry()
* @model
* @generated
*/
boolean isHasGeometry();
/**
* Sets the value of the '{@link org.bimserver.models.store.Revision#isHasGeometry Has Geometry}' attribute.
*
*
* @param value the new value of the 'Has Geometry' attribute.
* @see #isHasGeometry()
* @generated
*/
void setHasGeometry(boolean value);
} // Revision