wt.ixb.conflictFramework
Class ImportSession

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.ixb.conflictFramework.ImportSession
All Implemented Interfaces:
AccessControlled, CabinetBased, CabinetMember, ContentHolder, DisplayIdentification, DomainAdministered, Externalizable, FolderEntry, FolderServiceManaged, FormatContentHolder, NetFactor, ObjectMappable, Ownable, Persistable, RecentlyVisited, Serializable, WTContained

public class ImportSession
extends WTObject
implements FormatContentHolder, CabinetMember, DomainAdministered, Ownable, AccessControlled, WTContained, Externalizable

Use the newImportSession static factory method(s), not the ImportSession constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  CabinetReference cabinet
           
private static String CLASSNAME
           
static String CONTAINER
          Label for the attribute.
private  WTContainerRef containerReference
           
private  Vector contentVector
           
private  AdminDomainRef domainRef
           
static long EXTERNALIZATION_VERSION_UID
           
private  DataFormatReference format
           
private  boolean hasContents
           
private  Vector httpVector
           
private  boolean inheritedDomain
           
protected static long OLD_FORMAT_VERSION_UID
           
private  HttpContentOperation operation
           
static String OVERRIDE_CONFLICTS
          Label for the attribute.
private  Boolean overrideConflicts
           
private  Ownership ownership
           
private  ContentItem primary
           
static long R626_EXTERNALIZATION_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
static String SESSION_DESCRIPTION
          Label for the attribute.
private static int SESSION_DESCRIPTION_UPPER_LIMIT
           
static String SESSION_NAME
          Label for the attribute.
private static int SESSION_NAME_UPPER_LIMIT
           
private  String sessionDescription
           
private  String sessionName
           
private  ImportSessionStatus status
           
static String STATUS
          Label for the attribute.
private static int STATUS_UPPER_LIMIT
           
 
Fields inherited from class wt.fc.WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMP
 
Fields inherited from interface wt.content.FormatContentHolder
FORMAT, FORMAT_NAME, PRIMARY
 
Fields inherited from interface wt.content.ContentHolder
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATION
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.folder.CabinetMember
CABINET
 
Fields inherited from interface wt.folder.CabinetBased
CABINET_REFERENCE, FOLDER_PATH, LOCATION, NAME
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
Fields inherited from interface wt.ownership.Ownable
OWNERSHIP
 
Fields inherited from interface wt.inf.container.WTContained
CONTAINER_ID, CONTAINER_NAME, CONTAINER_REFERENCE
 
Fields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
ImportSession()
           
 
Method Summary
private  void containerReferenceValidate(WTContainerRef a_ContainerReference)
           
 boolean equals(Object obj)
          Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers.
private  void formatValidate(DataFormatReference a_Format)
           
 CabinetReference getCabinet()
          Gets the value of the attribute: CABINET.
 CabinetReference getCabinetReference()
          Gets the value of the attribute: CABINET_REFERENCE.
 String getConceptualClassname()
          Deprecated.  
 WTContainer getContainer()
          Gets the object for the association that plays role: CONTAINER.
 String getContainerName()
          Gets the value of the attribute: CONTAINER_NAME.
 WTContainerRef getContainerReference()
          Gets the value of the attribute: CONTAINER_REFERENCE.
private  InputStream getContentAsInputStreamByRole(ContentRoleType role)
           
 Vector getContentVector()
          Gets the value of the attribute: CONTENT_VECTOR.
 AdminDomainRef getDomainRef()
          Gets the object for the association that plays role: DOMAIN_REF.
 String getFolderPath()
          Gets the value of the attribute: FOLDER_PATH.
 DataFormatReference getFormat()
          Gets the object for the association that plays role: FORMAT.
 String getFormatName()
          Gets the value of the attribute: FORMAT_NAME.
 Vector getHttpVector()
          Gets the value of the attribute: HTTP_VECTOR.
 InputStream getJarFileAsStream()
          ImportSession was modified to implement FormatContentHolder.
 String getLocation()
          Gets the value of the attribute: LOCATION.
 String getName()
          Gets the value of the attribute: NAME.
 HttpContentOperation getOperation()
          Gets the value of the attribute: OPERATION.
 Boolean getOverrideConflicts()
          Gets the value of the attribute: OVERRIDE_CONFLICTS.
 Ownership getOwnership()
          Gets the object for the association that plays role: OWNERSHIP.
 ContentItem getPrimary()
          Gets the value of the attribute: PRIMARY.
 InputStream getRuleFileAsStream()
          ImportSession was modified to implement FormatContentHolder.
 String getSessionDescription()
          Gets the value of the attribute: SESSION_DESCRIPTION.
 String getSessionName()
          Gets the value of the attribute: SESSION_NAME.
 ImportSessionStatus getStatus()
          Gets the object for the association that plays role: STATUS.
 int hashCode()
          Returns a hash code for this object based upon its ObjectIdentifier.
 boolean isHasContents()
          Gets the value of the attribute: HAS_CONTENTS.
 boolean isInheritedDomain()
          Gets the value of the attribute: INHERITED_DOMAIN.
static ImportSession newImportSession()
          Default factory for the class.
private  void PP(String s)
           
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
 void readExternal(PersistentRetrieveIfc input)
          Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ImportSession thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private  void sessionDescriptionValidate(String a_SessionDescription)
           
private  void sessionNameValidate(String a_SessionName)
           
 void setCabinet(CabinetReference a_Cabinet)
          Sets the value of the attribute: CABINET.
 void setContainer(WTContainer a_Container)
          Sets the object for the association that plays role: CONTAINER.
 void setContainerReference(WTContainerRef a_ContainerReference)
          Sets the value of the attribute: CONTAINER_REFERENCE.
 void setContentVector(Vector a_ContentVector)
          Sets the value of the attribute: CONTENT_VECTOR.
 void setDomainRef(AdminDomainRef a_DomainRef)
          Sets the object for the association that plays role: DOMAIN_REF.
 void setFormat(DataFormatReference a_Format)
          Sets the object for the association that plays role: FORMAT.
 void setHasContents(boolean a_HasContents)
          Sets the value of the attribute: HAS_CONTENTS.
 void setHttpVector(Vector a_HttpVector)
          Sets the value of the attribute: HTTP_VECTOR.
 void setInheritedDomain(boolean a_InheritedDomain)
          Sets the value of the attribute: INHERITED_DOMAIN.
 void setOperation(HttpContentOperation a_Operation)
          Sets the value of the attribute: OPERATION.
 void setOverrideConflicts(Boolean a_OverrideConflicts)
          Sets the value of the attribute: OVERRIDE_CONFLICTS.
 void setOwnership(Ownership a_Ownership)
          Sets the object for the association that plays role: OWNERSHIP.
 void setPrimary(ContentItem a_Primary)
          Sets the value of the attribute: PRIMARY.
 void setSessionDescription(String a_SessionDescription)
          Sets the value of the attribute: SESSION_DESCRIPTION.
 void setSessionName(String a_SessionName)
          Sets the value of the attribute: SESSION_NAME.
 void setStatus(ImportSessionStatus a_Status)
          Sets the object for the association that plays role: STATUS.
private  void statusValidate(ImportSessionStatus a_Status)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 void writeExternal(PersistentStoreIfc output)
          Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.
 
Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, initialize, readVersion, setPersistInfo, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

SESSION_NAME

public static final String SESSION_NAME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

SESSION_NAME_UPPER_LIMIT

private static int SESSION_NAME_UPPER_LIMIT

sessionName

private String sessionName

SESSION_DESCRIPTION

public static final String SESSION_DESCRIPTION
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

SESSION_DESCRIPTION_UPPER_LIMIT

private static int SESSION_DESCRIPTION_UPPER_LIMIT

sessionDescription

private String sessionDescription

OVERRIDE_CONFLICTS

public static final String OVERRIDE_CONFLICTS
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

overrideConflicts

private Boolean overrideConflicts

STATUS

public static final String STATUS
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

STATUS_UPPER_LIMIT

private static int STATUS_UPPER_LIMIT

status

private ImportSessionStatus status

primary

private ContentItem primary

format

private DataFormatReference format

contentVector

private Vector contentVector

hasContents

private boolean hasContents

operation

private HttpContentOperation operation

httpVector

private Vector httpVector

cabinet

private CabinetReference cabinet

inheritedDomain

private boolean inheritedDomain

domainRef

private AdminDomainRef domainRef

ownership

private Ownership ownership

CONTAINER

public static final String CONTAINER
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

containerReference

private WTContainerRef containerReference

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

R626_EXTERNALIZATION_VERSION_UID

public static final long R626_EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

ImportSession

public ImportSession()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class WTObject
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class WTObject
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ImportSession thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(PersistentStoreIfc output)
                   throws SQLException,
                          DatastoreException
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
writeExternal in interface ObjectMappable
Overrides:
writeExternal in class WTObject
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
readExternal in interface ObjectMappable
Overrides:
readExternal in class WTObject
Parameters:
input -
Throws:
SQLException
DatastoreException

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Returns:
String

getSessionName

public String getSessionName()
Gets the value of the attribute: SESSION_NAME.

Supported API: false

Returns:
String

setSessionName

public void setSessionName(String a_SessionName)
                    throws WTPropertyVetoException
Sets the value of the attribute: SESSION_NAME.

Supported API: false

Parameters:
a_SessionName -
Throws:
WTPropertyVetoException

sessionNameValidate

private void sessionNameValidate(String a_SessionName)
                          throws WTPropertyVetoException
Parameters:
a_SessionName -
Throws:
WTPropertyVetoException

getSessionDescription

public String getSessionDescription()
Gets the value of the attribute: SESSION_DESCRIPTION.

Supported API: false

Returns:
String

setSessionDescription

public void setSessionDescription(String a_SessionDescription)
                           throws WTPropertyVetoException
Sets the value of the attribute: SESSION_DESCRIPTION.

Supported API: false

Parameters:
a_SessionDescription -
Throws:
WTPropertyVetoException

sessionDescriptionValidate

private void sessionDescriptionValidate(String a_SessionDescription)
                                 throws WTPropertyVetoException
Parameters:
a_SessionDescription -
Throws:
WTPropertyVetoException

getOverrideConflicts

public Boolean getOverrideConflicts()
Gets the value of the attribute: OVERRIDE_CONFLICTS.

Supported API: false

Returns:
Boolean

setOverrideConflicts

public void setOverrideConflicts(Boolean a_OverrideConflicts)
                          throws WTPropertyVetoException
Sets the value of the attribute: OVERRIDE_CONFLICTS.

Supported API: false

Parameters:
a_OverrideConflicts -
Throws:
WTPropertyVetoException

getStatus

public ImportSessionStatus getStatus()
Gets the object for the association that plays role: STATUS.

Supported API: false

Returns:
ImportSessionStatus

setStatus

public void setStatus(ImportSessionStatus a_Status)
               throws WTPropertyVetoException
Sets the object for the association that plays role: STATUS.

Supported API: false

Parameters:
a_Status -
Throws:
WTPropertyVetoException

statusValidate

private void statusValidate(ImportSessionStatus a_Status)
                     throws WTPropertyVetoException
Parameters:
a_Status -
Throws:
WTPropertyVetoException

newImportSession

public static ImportSession newImportSession()
                                      throws WTException
Default factory for the class.

Supported API: false

Returns:
ImportSession
Throws:
WTException

getFormatName

public String getFormatName()
Gets the value of the attribute: FORMAT_NAME.

Supported API: false

Specified by:
getFormatName in interface FormatContentHolder
Returns:
String

getPrimary

public ContentItem getPrimary()
Gets the value of the attribute: PRIMARY. This is a non-persistent ContentItem for FormatContentHolders that is used to pass the primary content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
getPrimary in interface FormatContentHolder
Returns:
ContentItem

setPrimary

public void setPrimary(ContentItem a_Primary)
                throws WTPropertyVetoException
Sets the value of the attribute: PRIMARY. This is a non-persistent ContentItem for FormatContentHolders that is used to pass the primary content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
setPrimary in interface FormatContentHolder
Parameters:
a_Primary -
Throws:
WTPropertyVetoException

getFormat

public DataFormatReference getFormat()
Gets the object for the association that plays role: FORMAT.

Supported API: false

Specified by:
getFormat in interface FormatContentHolder
Returns:
DataFormatReference

setFormat

public void setFormat(DataFormatReference a_Format)
               throws WTPropertyVetoException
Sets the object for the association that plays role: FORMAT.

Supported API: false

Specified by:
setFormat in interface FormatContentHolder
Parameters:
a_Format -
Throws:
WTPropertyVetoException

formatValidate

private void formatValidate(DataFormatReference a_Format)
                     throws WTPropertyVetoException
Parameters:
a_Format -
Throws:
WTPropertyVetoException

getContentVector

public Vector getContentVector()
Gets the value of the attribute: CONTENT_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
getContentVector in interface ContentHolder
Returns:
Vector

setContentVector

public void setContentVector(Vector a_ContentVector)
                      throws WTPropertyVetoException
Sets the value of the attribute: CONTENT_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
setContentVector in interface ContentHolder
Parameters:
a_ContentVector -
Throws:
WTPropertyVetoException

isHasContents

public boolean isHasContents()
Gets the value of the attribute: HAS_CONTENTS. This is a non-persistent variable that is used to pass information from server to client. Should not be directly accessed by the client

Supported API: false

Specified by:
isHasContents in interface ContentHolder
Returns:
boolean

setHasContents

public void setHasContents(boolean a_HasContents)
                    throws WTPropertyVetoException
Sets the value of the attribute: HAS_CONTENTS. This is a non-persistent variable that is used to pass information from server to client. Should not be directly accessed by the client

Supported API: false

Specified by:
setHasContents in interface ContentHolder
Parameters:
a_HasContents -
Throws:
WTPropertyVetoException

getOperation

public HttpContentOperation getOperation()
Gets the value of the attribute: OPERATION.

Supported API: false

Specified by:
getOperation in interface ContentHolder
Returns:
HttpContentOperation

setOperation

public void setOperation(HttpContentOperation a_Operation)
                  throws WTPropertyVetoException
Sets the value of the attribute: OPERATION.

Supported API: false

Specified by:
setOperation in interface ContentHolder
Parameters:
a_Operation -
Throws:
WTPropertyVetoException

getHttpVector

public Vector getHttpVector()
Gets the value of the attribute: HTTP_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
getHttpVector in interface ContentHolder
Returns:
Vector

setHttpVector

public void setHttpVector(Vector a_HttpVector)
                   throws WTPropertyVetoException
Sets the value of the attribute: HTTP_VECTOR. This is a non-persistent vector that is used to pass content from server to client. Should not be directly accessed by the client.

Supported API: false

Specified by:
setHttpVector in interface ContentHolder
Parameters:
a_HttpVector -
Throws:
WTPropertyVetoException

getCabinet

public CabinetReference getCabinet()
Gets the value of the attribute: CABINET.

Supported API: false

Specified by:
getCabinet in interface CabinetMember
Returns:
CabinetReference

setCabinet

public void setCabinet(CabinetReference a_Cabinet)
Sets the value of the attribute: CABINET.

Supported API: false

Specified by:
setCabinet in interface CabinetMember
Parameters:
a_Cabinet -

getName

public String getName()
Gets the value of the attribute: NAME. A name for the information. This name becomes a component of the full path of the object. The name is derived from the object itself.

Supported API: false

Specified by:
getName in interface CabinetBased
Returns:
String

getFolderPath

public String getFolderPath()
Gets the value of the attribute: FOLDER_PATH. The complete path for the object. The path includes the location with the name appended. This information is calculated.

Supported API: false

Specified by:
getFolderPath in interface CabinetBased
Returns:
String

getLocation

public String getLocation()
Gets the value of the attribute: LOCATION. The location, described as a path for the object. The location does not include the object's name, but rather indicates what Folder (Cabinet or SubFolder) that the object resides in. This information is calculated.

Supported API: false

Specified by:
getLocation in interface CabinetBased
Returns:
String

getCabinetReference

public CabinetReference getCabinetReference()
Gets the value of the attribute: CABINET_REFERENCE. A reference to the cabinet that the entry is consided part of.

Supported API: false

Specified by:
getCabinetReference in interface CabinetBased
Returns:
CabinetReference

isInheritedDomain

public boolean isInheritedDomain()
Gets the value of the attribute: INHERITED_DOMAIN. A boolean indicating whether the administrative domain is inherited. If the value is true, the domain is inherited from a parent object.

Supported API: false

Specified by:
isInheritedDomain in interface DomainAdministered
Returns:
boolean

setInheritedDomain

public void setInheritedDomain(boolean a_InheritedDomain)
                        throws WTPropertyVetoException
Sets the value of the attribute: INHERITED_DOMAIN. A boolean indicating whether the administrative domain is inherited. If the value is true, the domain is inherited from a parent object.

Supported API: false

Specified by:
setInheritedDomain in interface DomainAdministered
Parameters:
a_InheritedDomain -
Throws:
WTPropertyVetoException

getDomainRef

public AdminDomainRef getDomainRef()
Gets the object for the association that plays role: DOMAIN_REF.

Supported API: false

Specified by:
getDomainRef in interface DomainAdministered
Returns:
AdminDomainRef

setDomainRef

public void setDomainRef(AdminDomainRef a_DomainRef)
Sets the object for the association that plays role: DOMAIN_REF.

Supported API: false

Specified by:
setDomainRef in interface DomainAdministered
Parameters:
a_DomainRef -

getOwnership

public Ownership getOwnership()
Gets the object for the association that plays role: OWNERSHIP. The persistent state for an Ownable object is maintained via the Ownership object. Access to information for the Ownership object should be done via methods on the OwnershipHelper.

Supported API: false

Specified by:
getOwnership in interface Ownable
Returns:
Ownership

setOwnership

public void setOwnership(Ownership a_Ownership)
Sets the object for the association that plays role: OWNERSHIP. The persistent state for an Ownable object is maintained via the Ownership object. Access to information for the Ownership object should be done via methods on the OwnershipHelper.

Supported API: false

Specified by:
setOwnership in interface Ownable
Parameters:
a_Ownership -

getContainerName

public String getContainerName()
Gets the value of the attribute: CONTAINER_NAME. The name of the WTContainer this object is assigned to.

Supported API: false

Specified by:
getContainerName in interface WTContained
Returns:
String

getContainer

public WTContainer getContainer()
Gets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
getContainer in interface WTContained
Returns:
WTContainer

setContainer

public void setContainer(WTContainer a_Container)
                  throws WTPropertyVetoException,
                         WTException
Sets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
setContainer in interface WTContained
Parameters:
a_Container -
Throws:
WTPropertyVetoException
WTException

getContainerReference

public WTContainerRef getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
getContainerReference in interface WTContained
Returns:
WTContainerRef

setContainerReference

public void setContainerReference(WTContainerRef a_ContainerReference)
                           throws WTPropertyVetoException
Sets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
setContainerReference in interface WTContained
Parameters:
a_ContainerReference -
Throws:
WTPropertyVetoException

containerReferenceValidate

private void containerReferenceValidate(WTContainerRef a_ContainerReference)
                                 throws WTPropertyVetoException
Parameters:
a_ContainerReference -
Throws:
WTPropertyVetoException

equals

public boolean equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers. Changed or stale copies are still considered equal by this method. Delegates to PersistenceHelper.equals(Persistable,Object).

Warning: Certain core Windchill operations may depend upon equals being ObjectIdentifier-based. Changes to the default implementation should be done with care, if at all.

Supported API: false

Overrides:
equals in class WTObject
Parameters:
obj -
Returns:
boolean

hashCode

public int hashCode()
Returns a hash code for this object based upon its ObjectIdentifier. Delegates to PersistenceHelper.hashCode(Persistable).

Warning: Certain core Windchill operations may depend upon hashCode being ObjectIdentifier-based. Changes to the default implementation should be done with care, if at all.

Supported API: false

Overrides:
hashCode in class WTObject
Returns:
int

getJarFileAsStream

public InputStream getJarFileAsStream()
                               throws WTException
ImportSession was modified to implement FormatContentHolder. Its ContentItem with data jar file should be retrieved as getPrimary()

Throws:
WTException

getRuleFileAsStream

public InputStream getRuleFileAsStream()
                                throws WTException
ImportSession was modified to implement FormatContentHolder. So far its content list has at most 1 ContentItem (mapping rule file). The possibility of distinguishing content items by role is maintained 'just in case'.

Throws:
WTException

getContentAsInputStreamByRole

private InputStream getContentAsInputStreamByRole(ContentRoleType role)
                                           throws WTException
Throws:
WTException

PP

private void PP(String s)