MetaBoss

com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel
Class AssociationRoleCardinalityEnum

java.lang.Object
  extended bycom.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.AssociationRoleCardinalityEnum
All Implemented Interfaces:
AssociationRoleCardinality, javax.jmi.reflect.RefEnum, java.io.Serializable

public final class AssociationRoleCardinalityEnum
extends java.lang.Object
implements AssociationRoleCardinality

AssociationRoleCardinality enumeration class implementation.

See Also:
Serialized Form

Field Summary
static AssociationRoleCardinalityEnum ONE
          Enumeration constant corresponding to literal One.
static AssociationRoleCardinalityEnum ONE_TO_MANY
          Enumeration constant corresponding to literal OneToMany.
static AssociationRoleCardinalityEnum ZERO_OR_ONE
          Enumeration constant corresponding to literal ZeroOrOne.
static AssociationRoleCardinalityEnum ZERO_TO_MANY
          Enumeration constant corresponding to literal ZeroToMany.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is equal to this enumeration value.
static AssociationRoleCardinality forName(java.lang.String name)
          Translates literal name to correspondent enumeration value.
 int hashCode()
          Returns a hash code for this the enumeration value.
 java.util.List refTypeName()
          Returns fully qualified name of the enumeration type.
 java.lang.String toString()
          Returns a string representation of the enumeration value.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ONE

public static final AssociationRoleCardinalityEnum ONE
Enumeration constant corresponding to literal One.


ZERO_OR_ONE

public static final AssociationRoleCardinalityEnum ZERO_OR_ONE
Enumeration constant corresponding to literal ZeroOrOne.


ZERO_TO_MANY

public static final AssociationRoleCardinalityEnum ZERO_TO_MANY
Enumeration constant corresponding to literal ZeroToMany.


ONE_TO_MANY

public static final AssociationRoleCardinalityEnum ONE_TO_MANY
Enumeration constant corresponding to literal OneToMany.

Method Detail

refTypeName

public java.util.List refTypeName()
Returns fully qualified name of the enumeration type.

Specified by:
refTypeName in interface javax.jmi.reflect.RefEnum
Returns:
List containing all parts of the fully qualified name.

toString

public java.lang.String toString()
Returns a string representation of the enumeration value.

Specified by:
toString in interface javax.jmi.reflect.RefEnum
Returns:
A string representation of the enumeration value.

hashCode

public int hashCode()
Returns a hash code for this the enumeration value.

Specified by:
hashCode in interface javax.jmi.reflect.RefEnum
Returns:
A hash code for this enumeration value.

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is equal to this enumeration value.

Specified by:
equals in interface javax.jmi.reflect.RefEnum
Parameters:
o - The reference object with which to compare.
Returns:
true if the other object is the enumeration of the same type and of the same value.

forName

public static AssociationRoleCardinality forName(java.lang.String name)
Translates literal name to correspondent enumeration value.

Parameters:
name - Enumeration literal.
Returns:
Enumeration value corresponding to the passed literal.

MetaBoss

Copyright © 2000-2005 Softaris Pty.Ltd. All Rights Reserved.