|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.common.util.PrintHelper
helper class to produce String reprosentation for different objects and their collections
Field Summary | |
static String |
ERROR
|
private static Log |
log
logging |
static String |
NULL
NULL String representation |
Constructor Summary | |
PrintHelper()
|
Method Summary | |
static StringBuffer |
addOID(StringBuffer buffer,
ObjectIdentifier oid)
adds OID String representation to StringBuffer |
static StringBuffer |
addRVI(StringBuffer buffer,
Iterated iterated)
adds RevisionIterationInfo String representation to StringBuffer |
static String |
printContainer(WTContainer container)
returns short String representation for WTContainer: ContainerName[OID](ContainerType) |
static String |
printFolder(Folder folder)
returns short String representation for Folder: FolderName[OID](containerName|location) |
static String |
printIterated(Iterated iterated)
returns short String presentation for IteratedObject: Name[OID](RVI) |
static String |
printPersistable(Persistable persistable)
returns String representation of Persistable objects |
static String |
printWorkspace(EPMWorkspace epmWorkspace)
returns short String representation for EPMWorkspace: WorkspaceName[OID](Container:ContainerType) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String NULL
public static final String ERROR
private static Log log
Constructor Detail |
public PrintHelper()
Method Detail |
public static String printPersistable(Persistable persistable)
Supports: EPMDocument, WTPArt, Folder, Container (see coresponding printXXX for details). For other persistables just prints OID
persistable
- Persistable
public static String printIterated(Iterated iterated)
for EPMDocument uses CADName as Name, for WTParts uses Number
iterated
- Iterated
public static String printFolder(Folder folder)
folder
- Folder
public static String printContainer(WTContainer container)
container
- WTContainer
public static String printWorkspace(EPMWorkspace epmWorkspace)
epmWorkspace
- EPMWorkspace
public static StringBuffer addOID(StringBuffer buffer, ObjectIdentifier oid)
buffer
- StringBufferoid
- ObjectIdentifier
public static StringBuffer addRVI(StringBuffer buffer, Iterated iterated)
buffer
- StringBufferiterated
- Iterated
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |