com.ptc.windchill.uwgm.common.pdm
Class SandBoxState
java.lang.Object
com.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.
sharedState
private SandBoxState.Shared sharedState
pdmCheckoutState
private SandBoxState.PdmCheckout pdmCheckoutState
DEFAULT
public static final SandBoxState DEFAULT
SandBoxState
public SandBoxState()
SandBoxState
public SandBoxState(SandBoxState.Shared sharedState,
SandBoxState.PdmCheckout pdmCheckoutState)
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)