@Test public void testIsAllowedFrom() throws Exception { assertFalse(metaData.isAllowedFrom()); assertFalse(metaData.isAllowedFrom("http: assertTrue(metaData.isAllowedFrom("http: assertTrue(metaData.isAllowedFrom("http: }
public boolean isAllowedFrom(String... entityIds) { return allowedAll || stream(entityIds).anyMatch(allowedEntityIds::contains); }
EntityMetaData implements Serializable { public boolean isAllowedFrom(String... entityIds) { return allowedAll || stream(entityIds).anyMatch(allowedEntityIds::contains); } }
EntityMetaData implements Serializable { public boolean isAllowedFrom(String... entityIds) { return allowedAll || stream(entityIds).anyMatch(allowedEntityIds::contains); } EntityMetaData(String entityId, String institutionId, String nameEn, String nameNl,
                          boolean policyEnforcementDecisionRequired, boolean allowedAll, Set<String> allowedEntityIds); }
EntityMetaData implements Serializable { public boolean isAllowedFrom(String... entityIds) { return allowedAll || stream(entityIds).anyMatch(allowedEntityIds::contains); } EntityMetaData(String entityId, String institutionId, String nameEn, String nameNl,
                          boolean policyEnforcementDecisionRequired, boolean allowedAll, Set<String> allowedEntityIds); String getEntityId(); String getNameEn(); String getNameNl(); String getInstitutionId(); boolean isPolicyEnforcementDecisionRequired(); boolean isAllowedFrom(String... entityIds); }
EntityMetaData implements Serializable { public boolean isAllowedFrom(String... entityIds) { return allowedAll || stream(entityIds).anyMatch(allowedEntityIds::contains); } EntityMetaData(String entityId, String institutionId, String nameEn, String nameNl,
                          boolean policyEnforcementDecisionRequired, boolean allowedAll, Set<String> allowedEntityIds); String getEntityId(); String getNameEn(); String getNameNl(); String getInstitutionId(); boolean isPolicyEnforcementDecisionRequired(); boolean isAllowedFrom(String... entityIds);  }