edu.nrao.sss.model.project.scheduling
Interface ProgBlock

All Known Implementing Classes:
ProgramBlock

public interface ProgBlock

Represents a specific telescope configuration for the purposes of scheduling.

Author:
slovelan

Method Summary
 List<TelescopeConfiguration> getAcceptableConfigurations()
          Returns a set of allowed telescope configurations for this program block.
 String getName()
          Returns a complete identifier for the program block.
 boolean isProjectPartiallyScheduled()
          Returns true if there is at least one scheduling block in the project that has been scheduled; false if there is nothing in the project that has been scheduled.
 void setAcceptableConfigurations(List<TelescopeConfiguration> configs)
           
 void setName(String newName)
           
 

Method Detail

getAcceptableConfigurations

List<TelescopeConfiguration> getAcceptableConfigurations()
Returns a set of allowed telescope configurations for this program block.

Returns:
the telescope configurations that are acceptable for the program block.

setAcceptableConfigurations

void setAcceptableConfigurations(List<TelescopeConfiguration> configs)

getName

String getName()
Returns a complete identifier for the program block.

Returns:
an identifier for the program block.

setName

void setName(String newName)

isProjectPartiallyScheduled

boolean isProjectPartiallyScheduled()
Returns true if there is at least one scheduling block in the project that has been scheduled; false if there is nothing in the project that has been scheduled.

Returns:
true if the project is partially scheduled; false otherwise.


Copyright © 2009. All Rights Reserved.