public static class RMFactory.NamingPatternSequence
extends java.lang.Object
NamingPatternSequence
instances.Modifier and Type | Method and Description |
---|---|
static NamingPatternSequence |
createInstance(FilePlanRepository fpRepository)
Creates a
NamingPatternSequence instance that
is associated with the given FilePlanRepository . |
static NamingPatternSequence |
createInstance(FilePlanRepository fpRepository,
java.lang.String idStr)
Creates a
NamingPatternSequence instance that
is associated with the given FilePlanRepository . |
static NamingPatternSequence |
fetchInstance(FilePlanRepository fpRepository,
java.lang.String namingPatternSequenceId,
RMPropertyFilter filter)
Retrieves a specific
NamingPatternSequence from the specified domain. |
static NamingPatternSequence |
getInstance(FilePlanRepository fpRepository,
java.lang.String namingPatternSequenceId)
Constructs a placeholder instance of the specified NamingPatternSequence object.
|
public static NamingPatternSequence fetchInstance(FilePlanRepository fpRepository, java.lang.String namingPatternSequenceId, RMPropertyFilter filter)
NamingPatternSequence
from the specified domain.fpRepository
- the FilePlanRepository
to retrieve from.
This entry cannot be null
.namingPatternSequenceId
- the ID String
of the desired naming pattern sequence.
This entry cannot be null
or blank.filter
- an optional RMPropertyFilter
defining
which properties to retrieve.
This entry can be null
.NamingPatternSequence
instance.public static NamingPatternSequence getInstance(FilePlanRepository fpRepository, java.lang.String namingPatternSequenceId)
fpRepository
- the FilePlanRepository
that the naming pattern sequence is associated with.
This entry cannot be null
.namingPatternSequenceId
- the ID String
of the desired naming pattern sequence.
This entry cannot be null
or blank.NamingPatternSequence
instance.public static NamingPatternSequence createInstance(FilePlanRepository fpRepository)
NamingPatternSequence
instance that
is associated with the given FilePlanRepository
.
This new instance can then be further defined using its RMProperties
collection and persisted using its save
method.
For this createInstance
method version, an Id value will be
automatically generated for the new instance.
fpRepository
- the FilePlanRepository
to associate
the new instance with and eventually save to.
This entry cannot be null
.NamingPatternSequence
instance.public static NamingPatternSequence createInstance(FilePlanRepository fpRepository, java.lang.String idStr)
NamingPatternSequence
instance that
is associated with the given FilePlanRepository
.
This new instance can then be further defined using its RMProperties
collection and persisted using its save
method.
This createInstance
method version allows the caller to optionally
specify an Id value to assign the the new instance.
fpRepository
- the FilePlanRepository
to associate
the new instance with and eventually save to.
This entry cannot be null
.idStr
- a String
Id value to be assigned to the new instance.
This parameter can be null
in which case an Id value
will be automatically generated for the new instance.NamingPatternSequence
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.