@Test public void testMakeFactPattern() throws Exception { final String factType = "factType"; final String boundName = "boundName"; final PatternWrapper patternWrapper = new PatternWrapper(factType, boundName); final FactPattern factPattern = patternWrapper.makeFactPattern(); assertEquals(factType, factPattern.getFactType()); assertEquals(boundName, factPattern.getBoundName()); }
public FactPattern makeFactPattern() { final FactPattern factPattern = new FactPattern(); factPattern.setBoundName(getBoundName()); factPattern.setFactType(getFactType()); return factPattern; }
PatternWrapper { public FactPattern makeFactPattern() { final FactPattern factPattern = new FactPattern(); factPattern.setBoundName(getBoundName()); factPattern.setFactType(getFactType()); return factPattern; } }
PatternWrapper { public FactPattern makeFactPattern() { final FactPattern factPattern = new FactPattern(); factPattern.setBoundName(getBoundName()); factPattern.setFactType(getFactType()); return factPattern; } PatternWrapper(final String factType,
                          final String boundName);  PatternWrapper(final String factType,
                          final String boundName,
                          final Boolean negated);  PatternWrapper(final String factType,
                          final String boundName,
                          final String entryPointName,
                          final Boolean negated);  PatternWrapper(); }
PatternWrapper { public FactPattern makeFactPattern() { final FactPattern factPattern = new FactPattern(); factPattern.setBoundName(getBoundName()); factPattern.setFactType(getFactType()); return factPattern; } PatternWrapper(final String factType,
                          final String boundName);  PatternWrapper(final String factType,
                          final String boundName,
                          final Boolean negated);  PatternWrapper(final String factType,
                          final String boundName,
                          final String entryPointName,
                          final Boolean negated);  PatternWrapper(); String key(); String name(); boolean isNegated(); String getEntryPointName(); void setEntryPointName(String entryPointName); String getFactType(); String getBoundName(); FactPattern makeFactPattern(); @Override boolean equals(Object o); @Override int hashCode(); }
PatternWrapper { public FactPattern makeFactPattern() { final FactPattern factPattern = new FactPattern(); factPattern.setBoundName(getBoundName()); factPattern.setFactType(getFactType()); return factPattern; } PatternWrapper(final String factType,
                          final String boundName);  PatternWrapper(final String factType,
                          final String boundName,
                          final Boolean negated);  PatternWrapper(final String factType,
                          final String boundName,
                          final String entryPointName,
                          final Boolean negated);  PatternWrapper(); String key(); String name(); boolean isNegated(); String getEntryPointName(); void setEntryPointName(String entryPointName); String getFactType(); String getBoundName(); FactPattern makeFactPattern(); @Override boolean equals(Object o); @Override int hashCode(); final static PatternWrapper DEFAULT; }