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

Public Member Functions

 SecItem (String secName, long usage)
 
String getSecName ()
 
long getUsage ()
 
int compareTo (SecItem o)
 
boolean isSelected ()
 
void setSelected (boolean selected)
 
boolean isSibling ()
 
void setSibling (boolean sibling)
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 

Detailed Description

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

Definition at line 28 of file SecItem.java.

Constructor & Destructor Documentation

◆ SecItem()

org.turro.security.SecItem.SecItem ( String  secName,
long  usage 
)

Definition at line 35 of file SecItem.java.

35  {
36  this.secName = secName;
37  this.usage = usage;
38  this.selected = false;
39  }
Here is the caller graph for this function:

Member Function Documentation

◆ compareTo()

int org.turro.security.SecItem.compareTo ( SecItem  o)

Definition at line 50 of file SecItem.java.

50  {
51  return CompareUtil.compare(secName, o.secName);
52  }

◆ equals()

boolean org.turro.security.SecItem.equals ( Object  obj)

Definition at line 83 of file SecItem.java.

83  {
84  if (this == obj) {
85  return true;
86  }
87  if (obj == null) {
88  return false;
89  }
90  if (getClass() != obj.getClass()) {
91  return false;
92  }
93  final SecItem other = (SecItem) obj;
94  if (!Objects.equals(this.secName, other.secName)) {
95  return false;
96  }
97  return true;
98  }
SecItem(String secName, long usage)
Definition: SecItem.java:35
Here is the call graph for this function:

◆ getSecName()

String org.turro.security.SecItem.getSecName ( )

Definition at line 41 of file SecItem.java.

41  {
42  return secName;
43  }
Here is the caller graph for this function:

◆ getUsage()

long org.turro.security.SecItem.getUsage ( )

Definition at line 45 of file SecItem.java.

45  {
46  return usage;
47  }

◆ hashCode()

int org.turro.security.SecItem.hashCode ( )

Definition at line 76 of file SecItem.java.

76  {
77  int hash = 7;
78  hash = 59 * hash + Objects.hashCode(this.secName);
79  return hash;
80  }

◆ isSelected()

boolean org.turro.security.SecItem.isSelected ( )

Definition at line 54 of file SecItem.java.

54  {
55  return selected;
56  }
Here is the caller graph for this function:

◆ isSibling()

boolean org.turro.security.SecItem.isSibling ( )

Definition at line 62 of file SecItem.java.

62  {
63  return sibling;
64  }
Here is the caller graph for this function:

◆ setSelected()

void org.turro.security.SecItem.setSelected ( boolean  selected)

Definition at line 58 of file SecItem.java.

58  {
59  this.selected = selected;
60  }
Here is the caller graph for this function:

◆ setSibling()

void org.turro.security.SecItem.setSibling ( boolean  sibling)

Definition at line 66 of file SecItem.java.

66  {
67  this.sibling = sibling;
68  }

◆ toString()

String org.turro.security.SecItem.toString ( )

Definition at line 71 of file SecItem.java.

71  {
72  return secName;
73  }

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