@Test public void getDisplayedFields() { this.parameters.put("fields", ",first_name ,, last_name,"); final UIXRecordElement element = new UIXRecordElement(this.uiExtension, this.recordSection); final List<String> result = element.getDisplayedFields(); Assert.assertEquals(2, result.size()); Assert.assertEquals("first_name", result.get(0)); Assert.assertEquals("last_name", result.get(1)); }
@Override public List<String> getDisplayedFields() { return this.fields; }
UIXRecordElement implements RecordElement { @Override public List<String> getDisplayedFields() { return this.fields; } }
UIXRecordElement implements RecordElement { @Override public List<String> getDisplayedFields() { return this.fields; } UIXRecordElement(UIExtension extension, RecordSection section); }
UIXRecordElement implements RecordElement { @Override public List<String> getDisplayedFields() { return this.fields; } UIXRecordElement(UIExtension extension, RecordSection section); @Override UIExtension getExtension(); @Override String getName(); @Override boolean isEnabled(); @Override boolean containsPrivateIdentifiableInformation(); @Override List<String> getDisplayedFields(); @Override RecordSection getContainingSection(); @Override String toString(); @Override void setEnabled(boolean enabled); }
UIXRecordElement implements RecordElement { @Override public List<String> getDisplayedFields() { return this.fields; } UIXRecordElement(UIExtension extension, RecordSection section); @Override UIExtension getExtension(); @Override String getName(); @Override boolean isEnabled(); @Override boolean containsPrivateIdentifiableInformation(); @Override List<String> getDisplayedFields(); @Override RecordSection getContainingSection(); @Override String toString(); @Override void setEnabled(boolean enabled);  }