pt.ist.fenixframework.dml
Class DomainClass

Package class diagram package DomainClass
java.lang.Object
  extended by pt.ist.fenixframework.dml.DomainEntity
      extended by pt.ist.fenixframework.dml.DomainClass
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DomainRelation

public class DomainClass
extends DomainEntity

See Also:
Serialized Form

Constructor Summary
DomainClass(URL sourceFile, String fullName, DomainEntity superclass, List interfacesNames)
           
 
Method Summary
 void addRoleSlot(Role role)
           
 void addSlot(Slot slot)
           
 Role findRoleSlot(String roleName)
           
 Slot findSlot(String slotName)
           
 Iterator getInterfaceNamesIterator()
           
 List getInterfacesNames()
           
 Iterator<Role> getRoleSlots()
           
 List<Role> getRoleSlotsList()
           
 Iterator<Slot> getSlots()
           
 List<Slot> getSlotsList()
           
 DomainEntity getSuperclass()
           
 String getSuperclassName()
           
 boolean hasSlots()
           
 boolean hasSlotWithOption(Slot.Option option)
           
 boolean hasSuperclass()
           
 
Methods inherited from class pt.ist.fenixframework.dml.DomainEntity
getBaseName, getFullName, getFullName, getName, getPackageName, getSourceFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainClass

public DomainClass(URL sourceFile,
                   String fullName,
                   DomainEntity superclass,
                   List interfacesNames)
Method Detail

hasSuperclass

public boolean hasSuperclass()

getSuperclass

public DomainEntity getSuperclass()

getSuperclassName

public String getSuperclassName()

getInterfaceNamesIterator

public Iterator getInterfaceNamesIterator()

getInterfacesNames

public List getInterfacesNames()

addSlot

public void addSlot(Slot slot)

getSlots

public Iterator<Slot> getSlots()

getSlotsList

public List<Slot> getSlotsList()

hasSlots

public boolean hasSlots()

findSlot

public Slot findSlot(String slotName)
Overrides:
findSlot in class DomainEntity

addRoleSlot

public void addRoleSlot(Role role)
Specified by:
addRoleSlot in class DomainEntity

getRoleSlots

public Iterator<Role> getRoleSlots()

getRoleSlotsList

public List<Role> getRoleSlotsList()

findRoleSlot

public Role findRoleSlot(String roleName)
Overrides:
findRoleSlot in class DomainEntity

hasSlotWithOption

public boolean hasSlotWithOption(Slot.Option option)


Copyright © 2013. All Rights Reserved.