List of usage examples for java.lang Boolean FALSE
Boolean FALSE
To view the source code for java.lang Boolean FALSE.
Click Source Link
From source file:io.github.jeddict.jpa.spec.validator.column.JoinColumnValidator.java
public static boolean isEmpty(JoinColumn column) { boolean empty = false; if (StringUtils.isBlank(column.getName()) && StringUtils.isBlank(column.getReferencedColumnName()) && StringUtils.isBlank(column.getColumnDefinition()) && StringUtils.isBlank(column.getTable()) && Boolean.TRUE.equals(column.getNullable()) && Boolean.TRUE.equals(column.getInsertable()) && Boolean.TRUE.equals(column.getUpdatable()) && Boolean.FALSE.equals(column.getUnique()) && ForeignKeyValidator.isEmpty(column.getForeignKey())) { empty = true;// w ww .j a va 2s.c o m } if (!empty && StringUtils.isBlank(column.getName()) && StringUtils.isNotBlank(column.getImplicitName())) { column.setName(column.getImplicitName()); column.setImplicitName(null); } if (!empty && StringUtils.isBlank(column.getName())) { empty = true; } return empty; }
From source file:com.jonak.service.UserServiceImp.java
@Override public Boolean createUser(UserBean userobj) { return Boolean.FALSE; }
From source file:net.sourceforge.fenixedu.applicationTier.Servico.resourceAllocationManager.RemoverTurno.java
@Atomic public static Object run(final InfoShift infoShift, final InfoClass infoClass) { check(RolePredicates.RESOURCE_ALLOCATION_MANAGER_PREDICATE); final Shift shift = FenixFramework.getDomainObject(infoShift.getExternalId()); if (shift == null) { return Boolean.FALSE; }//w w w . j a va2 s . com final SchoolClass schoolClass = (SchoolClass) CollectionUtils.find(shift.getAssociatedClassesSet(), new Predicate() { @Override public boolean evaluate(Object arg0) { final SchoolClass schoolClass = (SchoolClass) arg0; return schoolClass.getExternalId().equals(infoClass.getExternalId()); } }); if (schoolClass == null) { return Boolean.FALSE; } shift.getAssociatedClassesSet().remove(schoolClass); return Boolean.TRUE; }
From source file:LocationSensitiveDemo.java
public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); increaseFont("Tree.font"); increaseFont("Label.font"); increaseFont("ComboBox.font"); increaseFont("List.font"); } catch (Exception e) { }//from w ww . j a v a 2 s .co m // Turn off metal's use of bold fonts UIManager.put("swing.boldMetal", Boolean.FALSE); createAndShowGUI(); } }); }
From source file:Main.java
public static Boolean isFamilyBirthday(TemporalAccessor date) { int month = date.get(ChronoField.MONTH_OF_YEAR); int day = date.get(ChronoField.DAY_OF_MONTH); // Angie's birthday is on April 3. if ((month == Month.APRIL.getValue()) && (day == 3)) return Boolean.TRUE; // Sue's birthday is on June 18. if ((month == Month.JUNE.getValue()) && (day == 18)) return Boolean.TRUE; // Joe's birthday is on May 29. if ((month == Month.MAY.getValue()) && (day == 29)) return Boolean.TRUE; return Boolean.FALSE; }
From source file:eu.arthepsy.sonar.plugins.scapegoat.util.XmlUtils.java
public static SMInputFactory createFactory() { XMLInputFactory xmlFactory = XMLInputFactory.newInstance(); xmlFactory.setProperty(XMLInputFactory.IS_COALESCING, Boolean.TRUE); xmlFactory.setProperty(XMLInputFactory.IS_COALESCING, Boolean.TRUE); xmlFactory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.FALSE); xmlFactory.setProperty(XMLInputFactory.SUPPORT_DTD, Boolean.FALSE); xmlFactory.setProperty(XMLInputFactory.IS_VALIDATING, Boolean.FALSE); SMInputFactory inputFactory = new SMInputFactory(xmlFactory); return inputFactory; }
From source file:com.ewcms.publication.freemarker.directive.page.PageOut.java
public PageOut(Integer count, Integer number, String label) { this(count, number, label, "", Boolean.FALSE); }
From source file:au.org.emii.geoserver.extensions.filters.layer.data.Filter.java
public Filter(String name, String type) { this.name = name; this.type = type; this.enabled = Boolean.FALSE; this.visualised = Boolean.TRUE; this.excludedFromDownload = Boolean.FALSE; this.extras = new HashMap<String, String>(); }
From source file:config.ResourceUtils.java
/** * Checks if a resource with the given relative path exists on the file * system.//from ww w .ja va2 s.co m * * @param relativePath the relative path of the resource * @return the is existing boolean */ public static boolean isExistingFile(String relativePath) { boolean isExistingResource = Boolean.FALSE; Resource resource = new FileSystemResource(relativePath); if (resource.exists()) { isExistingResource = true; } return isExistingResource; }
From source file:com.jonak.service.UserServiceImp.java
@Override public Boolean updateUser(UserBean userobj) { return Boolean.FALSE; }