@Queryable( false ) Property<String> password();
/** * Verify that the provided type has not been marked with a Queryable(false). * * @param type a type * * @throws NotQueryableException - If type has been marked as not queryable */ public static void throwIfNotQueryable( final Class<?> type ) { Queryable queryable = type.getAnnotation( Queryable.class ); if( queryable != null && !queryable.value() ) { throw new NotQueryableException( String.format( "Type \"%1$s\" is not queryable as has been marked with @Queryable(false)", type.getName() ) ); } } }
/** * Verify that the provided accessor method has not been marked with a Queryable(false). * * @param accessor accessor method * * @throws NotQueryableException - If accessor method has been marked as not queryable */ public static void throwIfNotQueryable( final AccessibleObject accessor ) { Queryable queryable = accessor.getAnnotation( Queryable.class ); if( queryable != null && !queryable.value() ) { throw new NotQueryableException( String.format( "%1$s \"%2$s\" (%3$s) is not queryable as has been marked with @Queryable(false)", Classes.RAW_CLASS.map( GenericPropertyInfo.propertyTypeOf( accessor ) ).getSimpleName(), ( (Member) accessor ).getName(), ( (Member) accessor ).getDeclaringClass().getName() ) ); } }
@Queryable( false ) Property<Integer> value(); }
/** * JAVADOC Add JavaDoc. */ @Queryable( false ) public interface File extends ValueComposite { Property<String> value(); }
/** * JAVADOC Add JavaDoc */ @Queryable( false ) public interface CatEntity extends Cat, EntityComposite { }
/** * Services that want to be configurable should have a ConfigurationComposite that contains all the settings. * They are treated as EntityComposites, and are therefore stored in an EntityStore. There will be one instance * per service instance that uses each ConfigurationComposite, and the identity of the entity is the same as that * of the service. */ @Queryable( false ) public interface ConfigurationComposite extends Identity, Composite { }
/** * JAVADOC Add JavaDoc */ @Queryable( false ) // START SNIPPET: config public interface NativeConfiguration extends ConfigurationComposite { @Optional @Matches( "([spoc][spoc][spoc][spoc],?)*" ) Property<String> tripleIndexes(); @Optional Property<String> dataDirectory(); @UseDefaults Property<Boolean> forceSync(); } // END SNIPPET: config
@Queryable( false ) public interface EntityTraceRecordEntity extends TraceRecord, EntityComposite { Association<EntityComposite> source(); }
@Queryable( false ) Property<BigInteger> lastCRLNumber();
@Queryable( false ) Property<char[]> password();
@Queryable( false ) Property<String> pem();
@Queryable( false ) Property<List<String>> arguments(); }
@Queryable( false ) Property<RevocationReason> reason();
/** * @return Details text of this record */ @Queryable( false ) @UseDefaults Property<String> details();
@Optional @Queryable( false ) Property<Host> host();