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

Public Member Functions

 ValueItSet ()
 
String getDescriptionFields ()
 
String getLabeledFields (boolean description, boolean publishable)
 

Detailed Description

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

Definition at line 30 of file ValueItSet.java.

Constructor & Destructor Documentation

◆ ValueItSet()

org.turro.fieldit.ValueItSet.ValueItSet ( )

Definition at line 32 of file ValueItSet.java.

32  {
33  super(new ValueItComparator());
34  }

Member Function Documentation

◆ getDescriptionFields()

String org.turro.fieldit.ValueItSet.getDescriptionFields ( )

Definition at line 36 of file ValueItSet.java.

36  {
37  PhraseBuilder pb = new PhraseBuilder();
38  pb.addPendingSeparator(" ");
39  for(ValueIt vi : this) {
40  if(vi.getFieldIt().isDescription()) {
41  pb.addWord(vi.getLabeledObjectString());
42  pb.addPendingSeparator(Chars.sep().spaced().toString());
43  }
44  }
45  return pb.toString();
46  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLabeledFields()

String org.turro.fieldit.ValueItSet.getLabeledFields ( boolean  description,
boolean  publishable 
)

Definition at line 48 of file ValueItSet.java.

48  {
49  PhraseBuilder pb = new PhraseBuilder();
50  pb.addPendingSeparator(" ");
51  for(ValueIt vi : this) {
52  if((vi.getFieldIt().isDescription() && description) ||
53  (vi.getFieldIt().isPublishable() && publishable)) {
54  pb.addWord(vi.getLabeledObjectString());
55  pb.addPendingSeparator(Chars.sep().spaced().toString());
56  }
57  }
58  return pb.toString();
59  }
Here is the call graph for this function:

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