sdRelationshipMultiplicityType Class Reference


Public Methods

 sdRelationshipMultiplicityType (sdRelationshipMultiplicityTypeEnum valueType)
 sdRelationshipMultiplicityType (const std::string &name)
 ~sdRelationshipMultiplicityType ()
 operator sdRelationshipMultiplicityTypeEnum () const
const std::string & getName () const

Detailed Description

The sdRelationshipMultiplicityType class encapsulates enumerated sdRelationshipMultiplicityTypeEnum values that specify the multiplicity of the relationship. For example, a relationship might be a one-to-one relationship, or a one-to-many relationship.

See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers.

enum sdRelationshipMultiplicityTypeEnum
 

Enumeration values:
sdcOneToOneRelationshipMultiplicityType  "OneToOne"
sdcOneToZeroOrOneRelationshipMultiplicityType  "OneToZeroOrOne"
sdcOneToOneOrManyRelationshipMultiplicityType  "OneToOneOrMany"
sdcOneToZeroOrManyRelationshipMultiplicityType  "OneToZeroOrMany"


Constructor & Destructor Documentation

sdRelationshipMultiplicityType::sdRelationshipMultiplicityType sdRelationshipMultiplicityTypeEnum    valueType [inline]
 

This sdRelationshipMultiplicityType constructor takes an sdRelationshipMultiplicityTypeEnum value as an argument.

Parameters:
valueType An sdRelationshipMultiplicityTypeEnum value.

sdRelationshipMultiplicityType::sdRelationshipMultiplicityType const std::string &    name
 

This sdRelationshipMultiplicityType constructor takes a string name as an argument.

Parameters:
name The string name for the sdRelationshipMultiplicityType.
Exceptions:
sdcInvalidRelationshipMultiplicityTypeName 

sdRelationshipMultiplicityType::~sdRelationshipMultiplicityType   [inline]
 

This is the sdRelationshipMultiplicityType destructor.


Member Function Documentation

const std::string & sdRelationshipMultiplicityType::getName   const
 

This function returns the name of this sdRelationshipMultiplicityType object.

sdRelationshipMultiplicityType::operator sdRelationshipMultiplicityTypeEnum   const [inline]
 

This operator casts this sdRelationshipMultiplicityType object into its sdRelationshipMultiplicityTypeEnum value.


The documentation for this class was generated from the following files:

Return to top of page