com.apelon.dts.client.classifier
Class ClassifyCycleError

java.lang.Object
  extended by com.apelon.dts.client.classifier.ClassifyCycleError

public class ClassifyCycleError
extends Object

An entry for classification Cycle Error.

Cycle Error occurs when classification results in cyclic condition through either defining concept links or role chain.

Copyright: Copyright (c) 2004

Company: Apelon, Inc.

Since:
3.3.0
Version:
DTS 3.3.0
Author:
Apelon Inc.

Constructor Summary
ClassifyCycleError()
           
ClassifyCycleError(int cycleNumber, DTSConcept concept, DTSRoleType roleType)
          Creates this cycle error entry.
 
Method Summary
 DTSConcept getConcept()
          Gets the concept which is part of the cyclic error.
 int getCycleNumber()
          Gets the cycle number
 DTSRoleType getRoleType()
          Gets the DTSRoleType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassifyCycleError

public ClassifyCycleError()

ClassifyCycleError

public ClassifyCycleError(int cycleNumber,
                          DTSConcept concept,
                          DTSRoleType roleType)
Creates this cycle error entry. If the cycle is due to defining concept relationship, the role type should be set to null.

Parameters:
cycleNumber - Cycle Number
concept - DTSConcept involved in cyclic condition
roleType - DTSRoleType if the cycle is due to role relationship
Method Detail

getCycleNumber

public int getCycleNumber()
Gets the cycle number

Returns:
Cycle Number

getConcept

public DTSConcept getConcept()
Gets the concept which is part of the cyclic error. The attributes of the concept may not be populated.

Returns:
DTSConcept

getRoleType

public DTSRoleType getRoleType()
Gets the DTSRoleType. A null value indicates that the cycle Error is not due to role relationship.

Returns:
DTSRoleType if the cycle is due to Role relationship, else null


Copyright © 2011. All Rights Reserved.