public class ClassObjectOperations.ClassSubTest extends Object
Constructor and Description |
---|
ClassSubTest() |
Modifier and Type | Method and Description |
---|---|
void |
bogusClassTest(String super_class,
String class_name,
LibrarySession s)
Performs a test to see how DM server handles an invalid
Super class or an invalid Class name
|
Document |
createClassInstance(LibrarySession sess,
ClassObject clss)
Create Instances of newly created classes
|
ClassObject |
createClassObject(String class_name,
ClassObjectDefinition def,
LibrarySession sess) |
AttributeDefinition |
makeAttributeDefinition(LibrarySession sess,
String name,
int type,
int length,
int scale) |
void |
performTest()
Runs the test.
|
void |
showsubclasses(ClassObject clss) |
public void performTest() throws IfsException
IfsException
- if the operation failspublic AttributeDefinition makeAttributeDefinition(LibrarySession sess, String name, int type, int length, int scale) throws Exception
Exception
public ClassObject createClassObject(String class_name, ClassObjectDefinition def, LibrarySession sess) throws Exception
Exception
public Document createClassInstance(LibrarySession sess, ClassObject clss) throws Exception
Exception
public void showsubclasses(ClassObject clss) throws Exception
Exception
public void bogusClassTest(String super_class, String class_name, LibrarySession s) throws Exception
Exception
Copyright © 2023. All rights reserved.