|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.netmarkets.model.NmOid
public class NmOid
Supported API: true
Extendable: true
| Constructor Summary | |
|---|---|
NmOid()
Supported API: true |
|
NmOid(ObjectIdentifier oid)
Supported API: true |
|
NmOid(Persistable p)
Supported API: true |
|
NmOid(String nmOidStr)
Deprecated. Use NmOid.newNmOid( String ) instead |
|
NmOid(String type,
ObjectIdentifier oid)
Supported API: true |
|
NmOid(wt.vc.VersionForeignKey verId)
Supported API: true |
|
| Method Summary | |
|---|---|
HashMap |
getAdditionalInfo()
Gets the value of the attribute: additionalInfo. |
WTContainer |
getContainer()
gets the parent container of the object Supported API: true |
WTContainerRef |
getContainerRef()
gets the parent containerRef of the object Supported API: true |
Object |
getLatestIteration()
Get object associated with the NmOid ObjectIdentifier. |
ObjectIdentifier |
getOid()
Gets the ObjectIdentifier that this NmOid represents. |
Object |
getRef()
Inflates the refereneced object (typically from the database) Supported API: true |
Class |
getReferencedClass()
Supported API: true |
String |
getReferencedClassString()
Supported API: true |
Object |
getReferencedIteration()
Get object associated with the NmOid ObjectIdentifier. |
String |
getReferenceString()
Supported API: true |
wt.inf.sharing.SharedContainerMap |
getSCM()
Supported API: true |
NmOid |
getSharedContainer()
Gets the value of the attribute: sharedContainer. |
String |
getType()
Gets the value of the attribute: type. |
wt.vc.VersionForeignKey |
getVerId()
Gets the VersionForeignKey that this NmOid represents. |
WTReference |
getWtRef()
Gets the value of the attribute: wtRef. |
boolean |
isA(Class aClass)
Determines if the object references is an instance of the class provided |
static boolean |
isA(NmOid nmOid,
Class aclass)
Static version of isA Determines if the object references is an instance of the class provided |
boolean |
isRefInflated()
Supported API: true |
boolean |
isShared()
Supported API: true |
boolean |
isSharedFrom()
Gets the value of the attribute: sharedFrom. |
boolean |
isSharedTo()
Gets the value of the attribute: sharedTo. |
boolean |
isVerOid()
return boolean of if this NmOid object represents a Version ref or a specific Instance ref. |
static NmOid |
newNmOid(ObjectIdentifier oi)
Constructs an NmOid from a ObjectIdentifier Supported API: true |
static NmOid |
newNmOid(String oidStr)
Constructs an NmOid from a string Supported API: true |
void |
setAdditionalInfo(HashMap a_AdditionalInfo)
Sets the value of the attribute: additionalInfo. |
void |
setContainerRef(WTContainerRef aref)
Sets the parent containerRef of the object does not persist the change, just aviods a db hit next time this oid is asked for its containerref Supported API: true |
void |
setOid(ObjectIdentifier objId)
Sets the ObjectIdentifier that this NmOid represents. |
void |
setRef(Object a_Ref)
Sets the value of the attribute: ref. |
void |
setSCM(wt.inf.sharing.SharedContainerMap ascm)
Supported API: true |
void |
setSharedContainer(NmOid a_SharedContainer)
Sets the value of the attribute: sharedContainer. |
void |
setSharedFrom(boolean a_SharedFrom)
Sets the value of the attribute: sharedFrom. |
void |
setSharedTo(boolean a_SharedTo)
Sets the value of the attribute: sharedTo. |
void |
setType(String a_Type)
Sets the value of the attribute: type. |
void |
setVerId(wt.vc.VersionForeignKey verId)
Sets the VersionForeignKey that this NmOid represents. |
void |
setWtRef(WTReference a_WtRef)
Sets the value of the attribute: wtRef. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NmOid()
public NmOid(String type,
ObjectIdentifier oid)
throws WTException
type - oid -
WTException
public NmOid(String nmOidStr)
throws WTException
nmOidStr -
WTException
public NmOid(ObjectIdentifier oid)
throws WTException
WTException
public NmOid(wt.vc.VersionForeignKey verId)
throws WTException
WTException
public NmOid(Persistable p)
throws WTException
WTException| Method Detail |
|---|
public String getType()
public void setType(String a_Type)
a_Type -
public Object getRef()
throws WTException
WTException
public void setRef(Object a_Ref)
throws WTException
a_Ref -
WTExceptionpublic HashMap getAdditionalInfo()
public void setAdditionalInfo(HashMap a_AdditionalInfo)
a_AdditionalInfo - public boolean isSharedFrom()
public void setSharedFrom(boolean a_SharedFrom)
a_SharedFrom - public boolean isSharedTo()
public void setSharedTo(boolean a_SharedTo)
a_SharedTo - public NmOid getSharedContainer()
public void setSharedContainer(NmOid a_SharedContainer)
a_SharedContainer - public WTReference getWtRef()
public void setWtRef(WTReference a_WtRef)
throws WTException
a_WtRef -
WTExceptionpublic ObjectIdentifier getOid()
public void setOid(ObjectIdentifier objId)
throws WTException
objId -
WTExceptionpublic wt.vc.VersionForeignKey getVerId()
public void setVerId(wt.vc.VersionForeignKey verId)
throws WTException
verId -
WTExceptionpublic boolean isShared()
public static NmOid newNmOid(String oidStr)
throws WTException
WTException
public static NmOid newNmOid(ObjectIdentifier oi)
throws WTException
WTException
public WTContainer getContainer()
throws WTException
WTException
public WTContainerRef getContainerRef()
throws WTException
WTExceptionpublic void setContainerRef(WTContainerRef aref)
public void setSCM(wt.inf.sharing.SharedContainerMap ascm)
public wt.inf.sharing.SharedContainerMap getSCM()
public boolean isRefInflated()
throws WTException
WTException
public Object getLatestIteration()
throws WTException
WTException
public Object getReferencedIteration()
throws WTException
WTExceptionpublic boolean isVerOid()
public Class getReferencedClass()
public String getReferencedClassString()
public boolean isA(Class aClass)
aClass - - class to check
public String getReferenceString()
throws WTException
WTException
public static boolean isA(NmOid nmOid,
Class aclass)
aClass - - class to checknmOid - - the oid to check the class of
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||