org.ofbiz.webtools.artifactinfo
Class EntityArtifactInfo

java.lang.Object
  extended by org.ofbiz.webtools.artifactinfo.ArtifactInfoBase
      extended by org.ofbiz.webtools.artifactinfo.EntityArtifactInfo
All Implemented Interfaces:
java.lang.Comparable<ArtifactInfoBase>

public class EntityArtifactInfo
extends ArtifactInfoBase


Field Summary
protected  java.util.Set<EntityArtifactInfo> entitiesRelatedMany
           
protected  java.util.Set<EntityArtifactInfo> entitiesRelatedOne
           
protected  ModelEntity modelEntity
           
 
Fields inherited from class org.ofbiz.webtools.artifactinfo.ArtifactInfoBase
aif
 
Constructor Summary
EntityArtifactInfo(java.lang.String entityName, ArtifactInfoFactory aif)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDisplayName()
           
 java.lang.String getDisplayType()
           
 java.util.Set<EntityArtifactInfo> getEntitiesRelatedMany()
           
 java.util.Set<EntityArtifactInfo> getEntitiesRelatedOne()
           
 java.util.Set<EntityEcaRule> getEntityEcaRules()
           
 java.util.Set<FormWidgetArtifactInfo> getFormsUsingEntity()
           
 java.net.URL getLocationURL()
           
 ModelEntity getModelEntity()
           
 java.util.Set<ScreenWidgetArtifactInfo> getScreensUsingEntity()
           
 java.util.Set<ServiceArtifactInfo> getServicesCalledByEntityEca()
          Get the Services called by Entity ECA
 java.util.Set<ServiceArtifactInfo> getServicesUsingEntity()
          Get the Services that use this Entity
 java.lang.String getType()
           
 java.lang.String getUniqueId()
           
 void populateAll()
           
 
Methods inherited from class org.ofbiz.webtools.artifactinfo.ArtifactInfoBase
compareTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelEntity

protected ModelEntity modelEntity

entitiesRelatedOne

protected java.util.Set<EntityArtifactInfo> entitiesRelatedOne

entitiesRelatedMany

protected java.util.Set<EntityArtifactInfo> entitiesRelatedMany
Constructor Detail

EntityArtifactInfo

public EntityArtifactInfo(java.lang.String entityName,
                          ArtifactInfoFactory aif)
                   throws GenericEntityException
Throws:
GenericEntityException
Method Detail

populateAll

public void populateAll()
                 throws GeneralException
Throws:
GeneralException

getModelEntity

public ModelEntity getModelEntity()

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class ArtifactInfoBase

getDisplayType

public java.lang.String getDisplayType()
Specified by:
getDisplayType in class ArtifactInfoBase

getType

public java.lang.String getType()
Specified by:
getType in class ArtifactInfoBase

getUniqueId

public java.lang.String getUniqueId()
Specified by:
getUniqueId in class ArtifactInfoBase

getLocationURL

public java.net.URL getLocationURL()
                            throws java.net.MalformedURLException
Specified by:
getLocationURL in class ArtifactInfoBase
Throws:
java.net.MalformedURLException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class ArtifactInfoBase

getEntitiesRelatedOne

public java.util.Set<EntityArtifactInfo> getEntitiesRelatedOne()

getEntitiesRelatedMany

public java.util.Set<EntityArtifactInfo> getEntitiesRelatedMany()

getServicesUsingEntity

public java.util.Set<ServiceArtifactInfo> getServicesUsingEntity()
Get the Services that use this Entity


getServicesCalledByEntityEca

public java.util.Set<ServiceArtifactInfo> getServicesCalledByEntityEca()
Get the Services called by Entity ECA


getEntityEcaRules

public java.util.Set<EntityEcaRule> getEntityEcaRules()

getFormsUsingEntity

public java.util.Set<FormWidgetArtifactInfo> getFormsUsingEntity()

getScreensUsingEntity

public java.util.Set<ScreenWidgetArtifactInfo> getScreensUsingEntity()