|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.adaptation.AdaptationHome
Represents a branch or a version in a repository.
Repository
Method Summary | |
Adaptation |
findAdaptationOrNull(AdaptationName aName)
Returns the adaptation specified, null if not found. |
List |
findAllAgreements(com.softwareag.mdm.core.org.OrganizationName distributorName,
Adaptation aRoot,
boolean ignored)
Deprecated. Replaced by findAllAgreements(Profile, Adaptation) . |
List |
findAllAgreements(Profile distributor,
Adaptation aRoot)
Returns a list of all the adaptations that are an agreement with the distributor specified and that are under the root specified. |
List |
findAllChildren(Adaptation anAdaptation)
Returns a list of the adaptations that are direct children of the adaptation specified. |
List |
findAllChildren(Adaptation anAdaptation,
boolean ignored)
Deprecated. Replaced by findAllChildren(Adaptation) . |
List |
findAllDescendants(Adaptation anAdaptation)
Returns a list of all the adaptations that inherit from the adaptation specified (either as direct children or as descendants of children, recursively). |
List |
findAllDescendants(Adaptation anAdaptation,
boolean ignored)
Deprecated. Replaced by findAllDescendants(Adaptation) . |
List |
findAllRoots()
Returns all the adaptation instance roots of this repository. |
List |
findAllRoots(boolean ignored)
Deprecated. Replaced by findAllRoots() . |
Adaptation |
findParent(Adaptation anAdaptation)
Returns the parent of the adaptation specified, or null
if it is a root. |
Adaptation |
findParent(Adaptation anAdaptation,
boolean ignored)
Deprecated. Replaced by findParent(Adaptation) . |
List |
getBranchChildren()
Returns the branches which have been created from this home. |
Date |
getCreationDate()
Returns the creation date of this home. |
String |
getDescription(Locale aLocale)
Returns the description of this home. |
HomeKey |
getKey()
Returns the key that identifies this home in the current repository. |
String |
getLabel(Locale aLocale)
Returns the label of this home. |
String |
getLabelOrName(Locale aLocale)
Returns the label of this home. |
Profile |
getOwner()
Returns the owner profile of this home in the current repository. |
AdaptationHome |
getParent()
Returns the parent home, null if this home is the Reference branch.
|
AdaptationHome |
getParentBranch()
Returns the parent branch, null if this home is the Reference branch.
|
Adaptation |
getPreferredEdition(Adaptation target)
Deprecated. Since versioning features, edition/release distinction in a single home is no more significant, hence this method returns the same object as the argument. |
Adaptation |
getPreferredRelease(Adaptation target)
Deprecated. Since versioning features, edition/release distinction in a single home is no more significant, hence this method returns the same object as the argument. |
Repository |
getRepository()
Returns the repository that contains this home. |
String |
getRepositoryLabel()
Deprecated. Replaced by RepositoryDeclaration.getRepositoryLabel() . |
Date |
getTerminationDate()
Returns the termination date of this home. |
Map |
getValidationReportsMap(Severity minimalSeverity)
Returns a map of all validation reports of instances in this home that have at least a validation item of the severity specified or more. |
List |
getVersionChildren()
Returns the versions which have been created from this home. |
boolean |
isAncestorOf(AdaptationHome anotherHome)
Returns true if this home is an ancestor of
the home specified (home itself is excluded). |
boolean |
isBranch()
Returns true if this home is a branch. |
boolean |
isBranchReference()
Returns true if this home is the Reference branch. |
boolean |
isInitialVersion()
Returns true if this home is an initial version of a branch.
|
boolean |
isOpen()
Returns true if this home is either an open version or an open branch. |
boolean |
isOpenBranch()
Returns true if this home is an open branch. |
boolean |
isOpenVersion()
Returns true if this home is an open version. |
boolean |
isVersion()
Returns true if this home is a version. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public Adaptation findAdaptationOrNull(AdaptationName aName)
null
if not found.
public Adaptation findParent(Adaptation anAdaptation)
null
if it is a root.
Adaptation.isRootAdaptation()
public List findAllChildren(Adaptation anAdaptation)
public List findAllDescendants(Adaptation anAdaptation)
public List findAllAgreements(Profile distributor, Adaptation aRoot)
public List findAllRoots()
Adaptation.isRootAdaptation()
public HomeKey getKey()
public Profile getOwner()
public String getLabel(Locale aLocale)
null
.
public String getLabelOrName(Locale aLocale)
public String getDescription(Locale aLocale)
null
.
public Date getCreationDate()
public Date getTerminationDate()
If termination date is null
, the home is considered as open.
public AdaptationHome getParent()
null
if this home is the Reference branch.
For a branch, its parent is its initial version. For a version, its parent is its parent branch.
public AdaptationHome getParentBranch()
null
if this home is the Reference branch.
For a branch, its direct parent is its initial version, hence its parent branch is the parent of this initial version. For a version, its parent branch is its direct parent.
getBranchChildren()
,
getVersionChildren()
public List getBranchChildren()
A branch has no direct branch children (when a branch is created from another branch, an initial version is first created, then the new branch is created from this initial version).
public List getVersionChildren()
A version is always created from a branch.
public Repository getRepository()
public boolean isBranch()
true
if this home is a branch.
public boolean isBranchReference()
true
if this home is the Reference
branch.
public boolean isOpenBranch()
true
if this home is an open branch.
public boolean isOpenVersion()
true
if this home is an open version.
public boolean isOpen()
true
if this home is either an open version or an open branch.
public boolean isAncestorOf(AdaptationHome anotherHome)
true
if this home is an ancestor of
the home specified (home itself is excluded).
public boolean isVersion()
true
if this home is a version.
public boolean isInitialVersion()
true
if this home is an initial version of a branch.
When a branch is created from another branch, an initial version is first created, then the new branch is created from this initial version.
Repository
public String getRepositoryLabel()
RepositoryDeclaration.getRepositoryLabel()
.
public List findAllAgreements(com.softwareag.mdm.core.org.OrganizationName distributorName, Adaptation aRoot, boolean ignored) throws com.softwareag.mdm.core.org.OrganizationNotFoundException
findAllAgreements(Profile, Adaptation)
.
com.softwareag.mdm.core.org.OrganizationNotFoundException
public List findAllRoots(boolean ignored)
findAllRoots()
.
public List findAllChildren(Adaptation anAdaptation, boolean ignored)
findAllChildren(Adaptation)
.
public List findAllDescendants(Adaptation anAdaptation, boolean ignored)
findAllDescendants(Adaptation)
.
public Adaptation findParent(Adaptation anAdaptation, boolean ignored)
findParent(Adaptation)
.
public Adaptation getPreferredEdition(Adaptation target)
public Adaptation getPreferredRelease(Adaptation target)
public String toString()
public Map getValidationReportsMap(Severity minimalSeverity)
AdaptationName
s
an values ValidationReport
sValidationReport.hasItemsOfSeverityOrMore(Severity)
,
Adaptation.getValidationReport()
,
Consistency and validation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.