BrightSide Workbench Full Report + Source Code
org.turro.actor.ActorEntityCheck Class Reference

Public Member Functions

 ActorEntityCheck (String actor, IContact contact, IElephantEntity entity)
 
String getActor ()
 
IContact getCompared ()
 
IElephantEntity getEntity ()
 
boolean precheck ()
 
boolean check ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file ActorEntityCheck.java.

Constructor & Destructor Documentation

◆ ActorEntityCheck()

org.turro.actor.ActorEntityCheck.ActorEntityCheck ( String  actor,
IContact  contact,
IElephantEntity  entity 
)

Definition at line 34 of file ActorEntityCheck.java.

34  {
35  this.actor = actor;
36  this.compared = contact;
37  this.entity = entity;
38  }

Member Function Documentation

◆ check()

boolean org.turro.actor.ActorEntityCheck.check ( )

Definition at line 59 of file ActorEntityCheck.java.

59  {
60  return true;
61  }

◆ getActor()

String org.turro.actor.ActorEntityCheck.getActor ( )

Definition at line 40 of file ActorEntityCheck.java.

40  {
41  return actor;
42  }

◆ getCompared()

IContact org.turro.actor.ActorEntityCheck.getCompared ( )

Definition at line 44 of file ActorEntityCheck.java.

44  {
45  return compared;
46  }

◆ getEntity()

IElephantEntity org.turro.actor.ActorEntityCheck.getEntity ( )

Definition at line 48 of file ActorEntityCheck.java.

48  {
49  return entity;
50  }

◆ precheck()

boolean org.turro.actor.ActorEntityCheck.precheck ( )

Definition at line 52 of file ActorEntityCheck.java.

52  {
53  if(entity == null || entity.isEmpty()) {
54  return Actors.isActor(compared, actor);
55  }
56  return entity.isActor(compared, actor);
57  }
boolean isActor(String actor)
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: