|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.netmarkets.model.NmObject
com.ptc.netmarkets.model.NmNamedObject
com.ptc.netmarkets.model.NmWorkableObject
com.ptc.netmarkets.part.NmPart
Use the newNmPart
static factory method(s), not the NmPart
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
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
static long |
EXTERNALIZATION_VERSION_UID
|
private boolean |
hasContents
|
private String |
number
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PS_LASTPART
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
TYPE
Supported API: false |
static String |
WCTYPE
|
Fields inherited from class com.ptc.netmarkets.model.NmWorkableObject |
|
Fields inherited from class com.ptc.netmarkets.model.NmNamedObject |
NO_TRUCATION, USER_PREFERENCE |
Fields inherited from class com.ptc.netmarkets.model.NmObject |
ADDITIONAL_INFO, MARKED_FOR_DELETE, OID, RESTORABLE, VIEW_ACTION, VIEW_URL |
Fields inherited from interface com.ptc.netmarkets.model.NmWorkable |
AVAIL_FOR_ROLLUP_ITERATIONS, CHECKED_OUT_BY, CHECKED_OUT_OWNER, CHECKEDOUT, CONTAINER_NAME, LAST_MODIFIED, TYPE_ID |
Fields inherited from interface com.ptc.netmarkets.model.NmNamed |
NAME |
Fields inherited from interface com.ptc.netmarkets.util.misc.NmFormatable |
DIV_CLASS, RENDER_WHILE_HIDDEN |
Constructor Summary | |
NmPart()
|
Method Summary | |
boolean |
checkAvailable(NmAction actionName,
WTContainer container,
HashMap checkInfo)
Supported API: false |
static String |
getBOMContext(NmOid oid)
|
String |
getConceptualClassname()
Deprecated. |
String |
getNumber()
Gets the value of the attribute: number. |
boolean |
isHasContents()
Gets the value of the attribute: hasContents. |
boolean |
isProeDND()
|
boolean |
isRoot()
|
static NmPart |
newNmPart()
Default factory for the class. |
private void |
numberValidate(String a_Number)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
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(NmPart thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
representationExists()
|
void |
setHasContents(boolean a_HasContents)
Sets the value of the attribute: hasContents. |
void |
setNumber(String a_Number)
Sets the value of the attribute: number. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class com.ptc.netmarkets.model.NmWorkableObject |
getCheckedOutBy, getContainerName, getLastModified, getTypeId, isAvailForRollupIterations, isCheckedout, isCheckedOutOwner, newNmWorkableObject, readVersion, setAvailForRollupIterations, setCheckedout, setCheckedOutBy, setCheckedOutOwner, setContainerName, setLastModified, setTypeId |
Methods inherited from class com.ptc.netmarkets.model.NmNamedObject |
compareTo, getMaxNameLength, getName, initialize, newNmNamedObject, newNmNamedObject, readVersion, setMaxNameLength, setName |
Methods inherited from class com.ptc.netmarkets.model.NmObject |
checkAccess, checkAccess, getAdditionalInfo, getClassInfo, getCollationKey, getDivClass, getOid, getViewAction, getViewUrl, initialize, initialize, isAdmin, isAdmin, isExchangeAdmin, isMarkedForDelete, isRenderWhileHidden, isRestorable, newNmObject, newNmObject, readVersion, setAdditionalInfo, setCollationKey, setDivClass, setMarkedForDelete, setOid, setRenderWhileHidden, setRestorable, setViewAction, setViewUrl, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String TYPE
private String number
private boolean hasContents
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final boolean DEBUG
public static final String PS_LASTPART
public static final String WCTYPE
Constructor Detail |
public NmPart()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class NmWorkableObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class NmWorkableObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(NmPart thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class NmWorkableObject
public String getNumber()
public void setNumber(String a_Number) throws WTPropertyVetoException
a_Number
-
WTPropertyVetoException
private void numberValidate(String a_Number) throws WTPropertyVetoException
a_Number
-
WTPropertyVetoException
public boolean isHasContents()
public void setHasContents(boolean a_HasContents)
a_HasContents
- public static NmPart newNmPart() throws WTException
WTException
public boolean checkAvailable(NmAction actionName, WTContainer container, HashMap checkInfo)
NmWorkableObject
checkAvailable
in interface NmActionTarget
checkAvailable
in class NmWorkableObject
actionName
- container
- checkInfo
-
public boolean representationExists()
public boolean isRoot()
public boolean isProeDND()
public static String getBOMContext(NmOid oid)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |