com.danube.scrumworks.api2
Class ProductProperties

java.lang.Object
  extended by com.danube.scrumworks.api2.ProductProperties
All Implemented Interfaces:
com.danube.scrumworks.util.HasName, java.io.Serializable

public final class ProductProperties
extends java.lang.Object
implements java.io.Serializable, com.danube.scrumworks.util.HasName

Contains information about product properties for API users.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.danube.scrumworks.util.HasName
com.danube.scrumworks.util.HasName.CompareIgnoreCase
 
Field Summary
 
Fields inherited from interface com.danube.scrumworks.util.HasName
COMPARATOR, NAME_MAPPING
 
Constructor Summary
ProductProperties()
          Constructs a new Product.
 
Method Summary
 java.lang.String getBusinessWeightUnits()
          Gets the business weight units.
 java.lang.String getEffortUnits()
          Gets the effort units.
 java.lang.String getKeyPrefix()
          Gets the key prefix.
 java.lang.String getName()
          Gets the name.
 java.lang.Boolean getTrackTimeSpent()
          Checks whether the product tracks the time spent on tasks.
 java.lang.Boolean isPermissionsEnabled()
          Checks if permissions are enabled for the product.
 void setBusinessWeightUnits(java.lang.String businessWeightUnits)
          Sets the business weight units.
 void setEffortUnits(java.lang.String effortUnits)
          Sets the effort units.
 void setKeyPrefix(java.lang.String keyPrefix)
          Sets the key prefix.
 void setName(java.lang.String name)
          Sets the name.
 void setPermissionsEnabled(java.lang.Boolean permissionsEnabled)
          Sets whether or not permissions are enabled.
 void setTrackTimeSpent(java.lang.Boolean trackTimeSpent)
          Sets whether the time spent on tasks is tracked.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductProperties

public ProductProperties()
Constructs a new Product.

Method Detail

getName

public java.lang.String getName()
Gets the name.

Specified by:
getName in interface com.danube.scrumworks.util.HasName
Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getKeyPrefix

public java.lang.String getKeyPrefix()
Gets the key prefix.

Returns:
the key prefix

setKeyPrefix

public void setKeyPrefix(java.lang.String keyPrefix)
Sets the key prefix.

Parameters:
keyPrefix - the new key prefix

getEffortUnits

public java.lang.String getEffortUnits()
Gets the effort units.

Returns:
the effort units

setEffortUnits

public void setEffortUnits(java.lang.String effortUnits)
Sets the effort units.

Parameters:
effortUnits - the new effort units

getBusinessWeightUnits

public java.lang.String getBusinessWeightUnits()
Gets the business weight units.

Returns:
the business weight units

setBusinessWeightUnits

public void setBusinessWeightUnits(java.lang.String businessWeightUnits)
Sets the business weight units.

Parameters:
businessWeightUnits - the new business weight units

getTrackTimeSpent

public java.lang.Boolean getTrackTimeSpent()
Checks whether the product tracks the time spent on tasks.

Returns:
true, if the time spent on tasks is tracked

setTrackTimeSpent

public void setTrackTimeSpent(java.lang.Boolean trackTimeSpent)
Sets whether the time spent on tasks is tracked.

Parameters:
trackTimeSpent - the new track time spent

setPermissionsEnabled

public void setPermissionsEnabled(java.lang.Boolean permissionsEnabled)
Sets whether or not permissions are enabled.

Parameters:
permissionsEnabled - true to enable permission checking

isPermissionsEnabled

public java.lang.Boolean isPermissionsEnabled()
Checks if permissions are enabled for the product.

Returns:
true, if permission checking is enabled