|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.metadata.dav.DAVFactory
public class DAVFactory
DAVFactory manufactures objects from the com.sas.services.information.metadata.dav package. Given an objectType the factory constructs the class name and then calls the class constructor with the correct parameters.
Constructor Summary | |
---|---|
DAVFactory()
|
Method Summary | |
---|---|
static java.lang.Object |
narrow(com.sas.services.information.RepositoryData entity)
Given an entity, work out the correct class name and then create an instance of that class to return. |
static DAVEntityInterface |
newDAVEntity(java.lang.String objectType,
java.lang.String reposId,
RepositoryInterface repos)
Create an instance of a sublass of DAVEntity. |
Constructor Detail |
---|
public DAVFactory()
Method Detail |
---|
public static DAVEntityInterface newDAVEntity(java.lang.String objectType, java.lang.String reposId, RepositoryInterface repos)
objectType
- Object's typereposId
- The location of where the instance will be located in the repositoryrepos
- The repository in which this instance is to be created
public static java.lang.Object narrow(com.sas.services.information.RepositoryData entity)
The first step is to check the value of the resourcetype property. This gives us the basis for the class name.
entity
- An entity (collection of properties).
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |