public class ProjectInfo
extends java.lang.Object
Constructor and Description |
---|
ProjectInfo()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addIdRanges(PDRType type,
java.util.List<IDRange> range)
Adds ranges of IDs of a certain type.
|
int |
getAspectCount() |
java.util.Map<PDRType,java.util.List<IDRange>> |
getIdRanges() |
ProjectName |
getName() |
int |
getObjectcount()
Calculates the total number of objects saved in this project.
|
int |
getPersonCount() |
int |
getProjectId() |
java.util.List<IDRange> |
getRangesByType(PDRType type)
Returns all ranges of a cerain type.
|
int |
getReferenceCount() |
int |
getUserCount() |
void |
setIdRanges(java.util.Map<PDRType,java.util.List<IDRange>> idRanges) |
void |
setName(ProjectName name) |
void |
setProjectId(int projectId) |
public final int getAspectCount()
public final int getPersonCount()
public final int getUserCount()
public final int getReferenceCount()
public final int getObjectcount()
public final int getProjectId()
public final void setProjectId(int projectId)
projectId
- (int) The project ID.public final ProjectName getName()
public final void setName(ProjectName name)
name
- (ProjectName) An object containing the names of the project.public final void addIdRanges(PDRType type, java.util.List<IDRange> range)
type
- (PDRType) Type of the ranged added.range
- (Listpublic final java.util.List<IDRange> getRangesByType(PDRType type)
type
- (PDRType) The requested type.public final java.util.Map<PDRType,java.util.List<IDRange>> getIdRanges()
public final void setIdRanges(java.util.Map<PDRType,java.util.List<IDRange>> idRanges)
idRanges
- (Map