com.ptc.windchill.uwgm.common.pdm
Class SandBoxState

java.lang.Object
  extended bycom.ptc.windchill.uwgm.common.pdm.SandBoxState

public final class SandBoxState
extends Object

Enumerations for the "sand box"-related state of a PDM object. Includes information about two states: 1. Sharing state: Shared from given PDM container, or to the given project, or neither. 2. PDM Checked Out state: the same three possibilities. These two states are independent, except that an object cannot be checked out to a project and simultaneously shared to the same project.


Nested Class Summary
private static class SandBoxState.BasicState
          Basic state.
static class SandBoxState.PdmCheckout
          Enumeration for "PDM checkout" state.
static class SandBoxState.Shared
          Enumeration for "shared" state.
 
Field Summary
static SandBoxState DEFAULT
           
private  SandBoxState.PdmCheckout pdmCheckoutState
           
private  SandBoxState.Shared sharedState
           
 
Constructor Summary
SandBoxState()
           
SandBoxState(SandBoxState.Shared sharedState, SandBoxState.PdmCheckout pdmCheckoutState)
           
 
Method Summary
 SandBoxState.PdmCheckout getPdmCheckoutState()
           
 SandBoxState.Shared getSharedState()
           
 boolean isPdmCheckout()
           
 boolean isPdmCheckoutFrom()
           
 boolean isPdmCheckoutTo()
           
 boolean isShared()
           
 boolean isSharedFrom()
           
 boolean isSharedTo()
           
(package private)  void setPdmCheckoutState(SandBoxState.PdmCheckout pdmCheckoutState)
           
(package private)  void setSharedState(SandBoxState.Shared sharedState)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sharedState

private SandBoxState.Shared sharedState

pdmCheckoutState

private SandBoxState.PdmCheckout pdmCheckoutState

DEFAULT

public static final SandBoxState DEFAULT
Constructor Detail

SandBoxState

public SandBoxState()

SandBoxState

public SandBoxState(SandBoxState.Shared sharedState,
                    SandBoxState.PdmCheckout pdmCheckoutState)
Method Detail

getSharedState

public SandBoxState.Shared getSharedState()

getPdmCheckoutState

public SandBoxState.PdmCheckout getPdmCheckoutState()

isShared

public boolean isShared()

isSharedFrom

public boolean isSharedFrom()

isSharedTo

public boolean isSharedTo()

isPdmCheckout

public boolean isPdmCheckout()

isPdmCheckoutFrom

public boolean isPdmCheckoutFrom()

isPdmCheckoutTo

public boolean isPdmCheckoutTo()

toString

public String toString()

setSharedState

void setSharedState(SandBoxState.Shared sharedState)

setPdmCheckoutState

void setPdmCheckoutState(SandBoxState.PdmCheckout pdmCheckoutState)