Package com.ptc.optegra.nav
Class NavClass
java.lang.Object
com.ptc.optegra.nav.NavClass
Supported API: true
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClassAttribute(com.ptc.optegra.nav.NavAttribute attr) Add a class attribute if it does not exist
Supported API: truevoidDeletes the class attributes for the object
Supported API: trueGets the class attributes for the object
Supported API: trueGets the class name for the object
Supported API: trueGets the application of the object
Supported API: trueGets the item name for the object
Supported API: trueGets the revision for the object
Supported API: truebooleanReturns true if the object is structural, else returns false.Gets the type of the object
Supported API: truevoidValidate NavClass attributes.
-
Constructor Details
-
NavClass
Constructs the NavClass object
Supported API: true- Parameters:
c- - String indicating the class name of the objectt- - Space delimited string made-up of item type, application and an indicator (that specifies if the object is structural in nature) in this order. ex: "P CADDS N", "F PS Y".f- - The item namer- - The revision of the item
-
-
Method Details
-
getClassName
Gets the class name for the object
Supported API: true- Returns:
- String
-
getItemType
Gets the type of the object
Supported API: true- Returns:
- String
-
getItemApp
Gets the application of the object
Supported API: true- Returns:
- String
-
getItemStructural
public boolean getItemStructural()Returns true if the object is structural, else returns false.
Supported API: true- Returns:
- boolean
-
getItemName
Gets the item name for the object
Supported API: true- Returns:
- String
-
getItemRev
Gets the revision for the object
Supported API: true- Returns:
- String
-
getClassAttributes
Gets the class attributes for the object
Supported API: true- Returns:
- Vector
-
delClassAttributes
public void delClassAttributes()Deletes the class attributes for the object
Supported API: true
-