BrightSide Workbench Full Report + Source Code
org.turro.contacts.VoteIt Class Reference
Inheritance diagram for org.turro.contacts.VoteIt:
Collaboration diagram for org.turro.contacts.VoteIt:

Public Member Functions

String getId ()
 
void setId (String id)
 
int getVote ()
 
void setVote (int vote)
 
String getPath ()
 
void setPath (String path)
 
Contact getCreator ()
 
void setCreator (Contact creator)
 
Date getDateCreation ()
 
void setDateCreation (Date dateCreation)
 
String getName ()
 
String getEmail ()
 
String getWeb ()
 
IElephantEntity getOwnerEntity ()
 

Detailed Description

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

Definition at line 41 of file VoteIt.java.

Member Function Documentation

◆ getCreator()

Contact org.turro.contacts.VoteIt.getCreator ( )

Definition at line 84 of file VoteIt.java.

84  {
85  return creator;
86  }
Here is the caller graph for this function:

◆ getDateCreation()

Date org.turro.contacts.VoteIt.getDateCreation ( )

Definition at line 92 of file VoteIt.java.

92  {
93  return dateCreation;
94  }
Here is the caller graph for this function:

◆ getEmail()

String org.turro.contacts.VoteIt.getEmail ( )

Definition at line 110 of file VoteIt.java.

110  {
111  if(creator != null) {
112  Connector c = creator.getConnectorMap().get(IUser.CONNECTOR_EMAIL);
113  return c != null ? c.getValue() : null;
114  } else {
115  return null;
116  }
117  }
Map< String, Connector > getConnectorMap()
Definition: Contact.java:499
Here is the call graph for this function:

◆ getId()

String org.turro.contacts.VoteIt.getId ( )

Definition at line 60 of file VoteIt.java.

60  {
61  return id;
62  }

◆ getName()

String org.turro.contacts.VoteIt.getName ( )

Definition at line 102 of file VoteIt.java.

102  {
103  if(creator != null) {
104  return creator.getName();
105  } else {
106  return null;
107  }
108  }
Here is the call graph for this function:

◆ getOwnerEntity()

IElephantEntity org.turro.contacts.VoteIt.getOwnerEntity ( )

Definition at line 130 of file VoteIt.java.

130  {
131  return Entities.getController(new Path(path).getTill(2));
132  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPath()

String org.turro.contacts.VoteIt.getPath ( )

Definition at line 76 of file VoteIt.java.

76  {
77  return path;
78  }
Here is the caller graph for this function:

◆ getVote()

int org.turro.contacts.VoteIt.getVote ( )

Definition at line 68 of file VoteIt.java.

68  {
69  return vote;
70  }
Here is the caller graph for this function:

◆ getWeb()

String org.turro.contacts.VoteIt.getWeb ( )

Definition at line 119 of file VoteIt.java.

119  {
120  if(creator != null) {
121  Connector c = creator.getConnectorMap().get("Web");
122  return c != null ? c.getValue() : null;
123  } else {
124  return null;
125  }
126  }
Here is the call graph for this function:

◆ setCreator()

void org.turro.contacts.VoteIt.setCreator ( Contact  creator)

Definition at line 88 of file VoteIt.java.

88  {
89  this.creator = creator;
90  }
Here is the caller graph for this function:

◆ setDateCreation()

void org.turro.contacts.VoteIt.setDateCreation ( Date  dateCreation)

Definition at line 96 of file VoteIt.java.

96  {
97  this.dateCreation = dateCreation;
98  }
Here is the caller graph for this function:

◆ setId()

void org.turro.contacts.VoteIt.setId ( String  id)

Definition at line 64 of file VoteIt.java.

64  {
65  this.id = id;
66  }

◆ setPath()

void org.turro.contacts.VoteIt.setPath ( String  path)

Definition at line 80 of file VoteIt.java.

80  {
81  this.path = path;
82  }
Here is the caller graph for this function:

◆ setVote()

void org.turro.contacts.VoteIt.setVote ( int  vote)

Definition at line 72 of file VoteIt.java.

72  {
73  this.vote = vote;
74  }
Here is the caller graph for this function:

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