public static class RMFactory.BaseEntity
extends java.lang.Object
BaseEntity
instances.Modifier and Type | Method and Description |
---|---|
static BaseEntity |
fetchInstance(Repository repository,
EntityType entityType,
java.lang.String ident,
RMPropertyFilter filter)
Retrieves a generalized
BaseEntity from a repository. |
static BaseEntity |
fetchInstance(Repository repository,
java.lang.String classIdent,
java.lang.String ident,
RMPropertyFilter filter)
Retrieves a generalized
BaseEntity from a repository. |
static BaseEntity |
getInstance(FilePlanRepository fpRepository,
EntityType entityType,
java.lang.String baseEntityIdent)
Constructs a placeholder instance of a specific
BaseEntity . |
static BaseEntity |
getInstance(FilePlanRepository fpRepository,
java.lang.String classIdent,
java.lang.String baseEntityIdent)
Constructs a placeholder instance of a specific
BaseEntity . |
public static BaseEntity fetchInstance(Repository repository, EntityType entityType, java.lang.String ident, RMPropertyFilter filter)
BaseEntity
from a repository.repository
- the Repository
to retrieve from.
This entry cannot be null
.entityType
- the expected EntityType
of the desired entity.
This entry cannot be null
.ident
- an ID String
or full path name String
of the desired entity.
This entry cannot be null
or blank.filter
- an optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.BaseEntity
instance.public static BaseEntity fetchInstance(Repository repository, java.lang.String classIdent, java.lang.String ident, RMPropertyFilter filter)
BaseEntity
from a repository.repository
- the Repository
to retrieve from.
This entry cannot be null
.classIdent
- an ID String
or symbolic name String
of desired object's class.
This entry cannot be null
.ident
- an ID String
or full path name String
of the desired entity.
This entry cannot be null
or blank.filter
- an optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.BaseEntity
instance.public static BaseEntity getInstance(FilePlanRepository fpRepository, EntityType entityType, java.lang.String baseEntityIdent)
BaseEntity
.
A placeholder instance can be used for performing updates or as a reference for
an object-type property value.fpRepository
- the FilePlanRepository
that the base entity is associated with.
This entry cannot be null
.entityType
- the EntityType
of desired base entity.
This entry cannot be null
.baseEntityIdent
- an Id String
or full path name String
of the desired entity.
This entry cannot be null
or blank.BaseEntity
.public static BaseEntity getInstance(FilePlanRepository fpRepository, java.lang.String classIdent, java.lang.String baseEntityIdent)
BaseEntity
.
A placeholder instance can be used for performing updates and as a reference for
an object-type property value.fpRepository
- the FilePlanRepository
that the base entity is associated with.
This entry cannot be null
.classIdent
- an ID String
or symbolic name String
of the desired entity's class.
This entry cannot be null
.baseEntityIdent
- an ID String
or full path String
of desired base entity.
This entry cannot be null
or blank.BaseEntity
.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.