pt.ist.fenixframework.dml
Class Role

Package class diagram package Role
java.lang.Object
  extended by pt.ist.fenixframework.dml.Role
All Implemented Interfaces:
Serializable

public class Role
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int MULTIPLICITY_MANY
           
 
Constructor Summary
Role(String name, DomainEntity type)
           
 
Method Summary
 String getIndexProperty()
           
 int getMultiplicityLower()
           
 int getMultiplicityUpper()
           
 String getName()
           
 boolean getOrdered()
           
 Role getOtherRole()
           
 DomainRelation getRelation()
           
 DomainEntity getType()
           
 boolean isFirstRole()
           
 boolean needsMultiplicityChecks()
           
 void setIndexProperty(String propName)
           
 void setMultiplicity(int lower, int upper)
           
 void setOrdered(boolean ordered)
           
 void setRelation(DomainRelation relation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MULTIPLICITY_MANY

public static final int MULTIPLICITY_MANY
See Also:
Constant Field Values
Constructor Detail

Role

public Role(String name,
            DomainEntity type)
Method Detail

getRelation

public DomainRelation getRelation()

isFirstRole

public boolean isFirstRole()

getOtherRole

public Role getOtherRole()

setRelation

public void setRelation(DomainRelation relation)

getName

public String getName()

getType

public DomainEntity getType()

setMultiplicity

public void setMultiplicity(int lower,
                            int upper)

getMultiplicityLower

public int getMultiplicityLower()

getMultiplicityUpper

public int getMultiplicityUpper()

setIndexProperty

public void setIndexProperty(String propName)

getIndexProperty

public String getIndexProperty()

setOrdered

public void setOrdered(boolean ordered)

getOrdered

public boolean getOrdered()

needsMultiplicityChecks

public boolean needsMultiplicityChecks()


Copyright © 2013. All Rights Reserved.