public class LayoutValidationErrors
extends java.lang.Object
Red (pdf) |
Red (pdf) |
Constructor and Description |
---|
LayoutValidationErrors() |
Modifier and Type | Method and Description |
---|---|
void |
addEntityWithoutProxy(ComponentEntity entity)
Add entity without proxy.
|
void |
addException(java.lang.Exception e)
Add exception.
|
void |
addObjectMissingFromModel(NamedObj object)
Add an object that's missing from the model.
|
void |
addPortWithNoOrInvalidTarget(Port port)
Add a port without or invalid target.
|
void |
addPositionableWithInvalidLocation(NamedObj object)
Add positionable with invalid location.
|
void |
addPositionableWithInvalidTab(NamedObj object)
Add positionable with invalid tab.
|
void |
addProxyWithInvalidTarget(ProxyActor object)
Add a proxy with invalid target.
|
java.util.HashSet<ComponentEntity> |
getEntitiesWithoutProxies()
Return the set of entities without proxies.
|
java.util.HashSet<java.lang.Exception> |
getExceptions()
Return the set of exceptions.
|
java.util.HashSet<NamedObj> |
getObjectsMissingFromModel()
Return the set of objects missing from the model.
|
java.util.HashSet<Port> |
getPortsWithNoOrInvalidTargets()
Get a set of ports without or invalid targets.
|
java.util.HashSet<NamedObj> |
getPositionablesWithInvalidLocations()
Get a set of positionables with invalid locations.
|
java.util.HashSet<NamedObj> |
getPositionablesWithInvalidTabs()
Get a set of positionables with invalid tabs.
|
java.util.HashSet<ProxyActor> |
getProxiesWithInvalidTargets()
Get a set of proxies with invalid targets.
|
boolean |
haveErrors()
Return a boolean indicator showing whether there are any validation errors.
|
public void addException(java.lang.Exception e)
e
- The exception to add.public java.util.HashSet<java.lang.Exception> getExceptions()
public void addEntityWithoutProxy(ComponentEntity entity)
entity
- the entity without proxy.public java.util.HashSet<ComponentEntity> getEntitiesWithoutProxies()
public void addObjectMissingFromModel(NamedObj object)
object
- The object that's missing from the model.public java.util.HashSet<NamedObj> getObjectsMissingFromModel()
public void addProxyWithInvalidTarget(ProxyActor object)
object
- The proxy with invalid target.public java.util.HashSet<ProxyActor> getProxiesWithInvalidTargets()
public void addPortWithNoOrInvalidTarget(Port port)
port
- a port without or invalid target.public java.util.HashSet<Port> getPortsWithNoOrInvalidTargets()
public void addPositionableWithInvalidTab(NamedObj object)
object
- The positionable with invalid tab.public java.util.HashSet<NamedObj> getPositionablesWithInvalidTabs()
public void addPositionableWithInvalidLocation(NamedObj object)
object
- positionable entity to add.public java.util.HashSet<NamedObj> getPositionablesWithInvalidLocations()
public boolean haveErrors()