atg.svc.repository.beans
Class UserOptionHomes
java.lang.Object
atg.datamodel.Homes
atg.svc.repository.beans.UserOptionHomes
public class UserOptionHomes
- extends atg.datamodel.Homes
This is the factory for obtaining pointers to this package's Home classes. An instance of the factory may be obtained by calling the static method Homes.getHomes(java.lang.String)
, passing in a String identifying the desired instance. The following table lists the String identifiers that may be passed in, and the resulting instances:
Home Name | Homes Instance |
UserOption/repository | An instance of UserOptionHomes that returns Home instances for dealing with repository-backed instances. |
not specified | An instance of UserOptionHomes that returns Home instances for dealing with repository-backed instances. |
UserOption/bean | An instance of UserOptionHomes that returns Home instances for dealing with Java Bean instances. |
The following code demonstrates how an application may obtain an instance of the home factory for dealing with repository instances:
UserOption/bean homes = (UserOption/bean) Homes.getHomes("UserOption/repository");
Fields inherited from class atg.datamodel.Homes |
CLASS_VERSION |
Method Summary |
UserOptionHome |
getUserOptionHome()
Returns an instance of the Home for UserOption instances. |
static void |
initialize()
This must be called before any of the home or instance objects in this package may be used, or before an instance of this class can be obtained from the Homes.getHomes(java.lang.String) method. |
Methods inherited from class atg.datamodel.Homes |
getHome, getHomes, getHomesName, register, registerHome |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserOptionHomes
public UserOptionHomes()
initialize
public static void initialize()
throws atg.datamodel.DataModelException
- This must be called before any of the home or instance objects in this package may be used, or before an instance of this class can be obtained from the
Homes.getHomes(java.lang.String)
method. But rather than calling this method directly, applications should call InitializeDataModel.initialize()
, which will initialize all of the data types in a single method call.
- Throws:
atg.datamodel.DataModelException
getUserOptionHome
public UserOptionHome getUserOptionHome()
Returns an instance of the Home for UserOption
instances. The resulting Home will deal with repository or bean instances, depending on how this factory was obtained from the Homes.getHomes(java.lang.String)
method.