Java Doc for PersonalContour.java in  » Project-Management » OpenProj » com » projity » pm » assignment » contour » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Project Management » OpenProj » com.projity.pm.assignment.contour 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.projity.pm.assignment.contour.AbstractContour
      com.projity.pm.assignment.contour.PersonalContour

PersonalContour
public class PersonalContour extends AbstractContour (Code)



Constructor Summary
public  PersonalContour(AbstractContour standard, long assignmentDuration)
     Make a personal contour from a standard one.

Method Summary
public static  PersonalContouraddEmptyBucket(AbstractContour from, long duration, boolean after)
    
public  AbstractContouradjustDuration(long newDuration, long actualDuration)
     Set the duration of the personal contour.
public  AbstractContouradjustUnits(double multiplier, long startingFrom)
     Set the units of the personal contour by multiplying each bucket's units by a multipier.
public  longcalcTotalWork(long assignmentDuration)
    
public  Objectclone()
    
public static  PersonalContourconstructUsingSizeOf(AbstractContour from)
    
public  AbstractContourcontourAdjustWork(double multiplier, long actualDuration)
    
public  AbstractContourconvertToFlatIfPossible()
    
public  AbstractContourextend(long end, long extendDuration)
    
public  AbstractContourextendBefore(long start, long extendDuration)
    
public  PersonalContourextendBucket(long atDuration, long extendDuration)
    
public  longextractDelay()
    
public static  PersonalContourgetInstance(Collection list)
    
public static  PersonalContourgetInstance(AbstractContourBucket[] contourBuckets)
    
public  StringgetName()
    
public  MutableIntervalgetRangeThatIntervalCanBeMoved(long start, long end)
     Given an interval as start and end, determine the range which this interval can move in.
public  intgetType()
    
public  PersonalContourinsertBucket(long atDuration, AbstractContourBucket newBucket)
     Inserts a bucket into the contour.
public  booleanisPersonal()
    
public static  PersonalContourmakePersonal(AbstractContour contour, long assignmentDuration)
    
public  AbstractContourremoveEmptyBucketAtDuration(long atDuration)
     Remove a blank bucket, if any, that starts or occurs at a duration.
public  AbstractContourremoveFillerAfter(long atDuration)
     Removes any buckets having filler status after a given date.
public  PersonalContoursetInterval(long startDuration, long endDuration, double units)
    
public  PersonalContourshift(long start, long end, long shiftDuration)
    
public  voidvalidate()
    


Constructor Detail
PersonalContour
public PersonalContour(AbstractContour standard, long assignmentDuration)(Code)
Make a personal contour from a standard one. This is used when the user explicity changes to a personal contour, or if he types in values in the spreadsheet. It essentially clones a contour to a personal contour.
Parameters:
  standard -
Parameters:
  assignmentDuration -




Method Detail
addEmptyBucket
public static PersonalContour addEmptyBucket(AbstractContour from, long duration, boolean after)(Code)
Add empty duration bucket either before or after
Parameters:
  from -
Parameters:
  duration -
Parameters:
  after -



adjustDuration
public AbstractContour adjustDuration(long newDuration, long actualDuration)(Code)
Set the duration of the personal contour. This implies either truncating the bucket array or changing the last bucket to accommodate the new duration. Note that only the last bucket will be modified. The number of buckets will never increase. Since the buckets themselves are immutable, the last element will most likely be replaced. newDuration: The new duration to set to.



adjustUnits
public AbstractContour adjustUnits(double multiplier, long startingFrom)(Code)
Set the units of the personal contour by multiplying each bucket's units by a multipier. Since buckets are immutable, each element is copied to a new one The multiplier is newRate / oldRate multiplier: The new value to set to.



calcTotalWork
public long calcTotalWork(long assignmentDuration)(Code)
Calculates total work



clone
public Object clone()(Code)



constructUsingSizeOf
public static PersonalContour constructUsingSizeOf(AbstractContour from)(Code)



contourAdjustWork
public AbstractContour contourAdjustWork(double multiplier, long actualDuration)(Code)
Replace every element of the array with another that has its work adjusted



convertToFlatIfPossible
public AbstractContour convertToFlatIfPossible()(Code)



extend
public AbstractContour extend(long end, long extendDuration)(Code)



extendBefore
public AbstractContour extendBefore(long start, long extendDuration)(Code)



extendBucket
public PersonalContour extendBucket(long atDuration, long extendDuration)(Code)
Extend a bucket by a duration
Parameters:
  atDuration - - point on bucket to extend
Parameters:
  extendDuration - - amount to extend - can be negative to contract - new contour



extractDelay
public long extractDelay()(Code)
Remove any starting empty buckets from the contour and return the duration of those buckets



getInstance
public static PersonalContour getInstance(Collection list)(Code)



getInstance
public static PersonalContour getInstance(AbstractContourBucket[] contourBuckets)(Code)



getName
public String getName()(Code)



getRangeThatIntervalCanBeMoved
public MutableInterval getRangeThatIntervalCanBeMoved(long start, long end)(Code)
Given an interval as start and end, determine the range which this interval can move in.
Parameters:
  start -
Parameters:
  end - an interval which is a superset of the start,end interval



getType
public int getType()(Code)



insertBucket
public PersonalContour insertBucket(long atDuration, AbstractContourBucket newBucket)(Code)
Inserts a bucket into the contour. If the bucket is past the end, it is not inserted
Parameters:
  atDuration -
Parameters:
  newBucket -



isPersonal
public boolean isPersonal()(Code)



makePersonal
public static PersonalContour makePersonal(AbstractContour contour, long assignmentDuration)(Code)



removeEmptyBucketAtDuration
public AbstractContour removeEmptyBucketAtDuration(long atDuration)(Code)
Remove a blank bucket, if any, that starts or occurs at a duration. This is used when updating progress to assure that a task resumes on a certain date
Parameters:
  atDuration -



removeFillerAfter
public AbstractContour removeFillerAfter(long atDuration)(Code)
Removes any buckets having filler status after a given date. This is used in the obscure case where we uncomplete work and we want to eliminate gaps that exist due to dependency dates. These gaps should not be considered part of the contour.
Parameters:
  atDuration -



setInterval
public PersonalContour setInterval(long startDuration, long endDuration, double units)(Code)



shift
public PersonalContour shift(long start, long end, long shiftDuration)(Code)
Shift an interval (usually a bar) to the right or left
Parameters:
  start - - start of interval (expressed as an offset from the start)
Parameters:
  end - - end of interval (expressed as an offset from the start)
Parameters:
  shiftDuration - (if positive, shifting right, negative means shifting left)



validate
public void validate()(Code)



Fields inherited from com.projity.pm.assignment.contour.AbstractContour
protected AbstractContourBucket[] contourBuckets(Code)(Java Doc)
protected double maxUnits(Code)(Java Doc)

Methods inherited from com.projity.pm.assignment.contour.AbstractContour
public AbstractContour adjustDuration(long newDuration, long actualDuration)(Code)(Java Doc)
public AbstractContour adjustUnits(double multiplier, long startingFrom)(Code)(Java Doc)
public LinkedList bucketsBetweenDurations(long start, long end, long assignmentDuration)(Code)(Java Doc)
protected double calcMaxUnits()(Code)(Java Doc)
public long calcTotalBucketDuration(long assignmentDuration)(Code)(Java Doc)
abstract public long calcTotalWork(long assignmentDuration)(Code)(Java Doc)
public long calcWorkingBucketDuration(long assignmentDuration)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public AbstractContour contourAdjustWork(double multiplier, long actualDuration)(Code)(Java Doc)
abstract public AbstractContour extend(long end, long extendDuration)(Code)(Java Doc)
abstract public AbstractContour extendBefore(long startOffset, long extendDuration)(Code)(Java Doc)
public long extractDelay()(Code)(Java Doc)
public AbstractContourBucket[] getContourBuckets()(Code)(Java Doc)
public double getLastBucketUnits()(Code)(Java Doc)
public double getMaxUnits()(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
abstract public MutableInterval getRangeThatIntervalCanBeMoved(long start, long end)(Code)(Java Doc)
abstract public int getType()(Code)(Java Doc)
abstract public boolean isPersonal()(Code)(Java Doc)
public int numBuckets()(Code)(Java Doc)
public AbstractContour removeFillerAfter(long atDuration)(Code)(Java Doc)
public ArrayList toArrayList()(Code)(Java Doc)
public String toString(long assignmentDuration)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.