congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Property.getBoolean
Code IndexAdd Tabnine to your IDE (free)

How to use
getBoolean
method
in
org.granite.messaging.reflect.Property

Best Java code snippets using org.granite.messaging.reflect.Property.getBoolean (Showing top 8 results out of 315)

origin: org.graniteds/granite-server

public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
  booleanCodec.encodePrimitive(ctx, property.getBoolean(holder));
}
public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
origin: org.graniteds/granite-client

public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
  booleanCodec.encodePrimitive(ctx, property.getBoolean(holder));
}
public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
origin: org.graniteds/granite-client-java

public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
  booleanCodec.encodePrimitive(ctx, property.getBoolean(holder));
}
public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
origin: org.graniteds/granite-client-javafx

public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
  booleanCodec.encodePrimitive(ctx, property.getBoolean(holder));
}
public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
origin: org.graniteds/granite-client-javafx

@Override
public boolean getBoolean(Object holder) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException {
  if (ObservableBooleanValue.class.isAssignableFrom(property.getType()))
    return ((ObservableBooleanValue)property.getObject(holder)).get();
  return property.getBoolean(holder);
}
origin: org.graniteds/granite-client-javafx

public boolean isInitialized(Object o) {
  if (o instanceof PersistentCollection)
    return ((PersistentCollection<?>)o).wasInitialized();
  
  Class<?> cls = o.getClass();
  if (!isEntity(cls))
    return true;
  Property property = getInitializedProperty(cls, false);
  if (property == null)
    return true;
  
  try {
    return property.getBoolean(o);
  }
  catch (Exception e) {
    throw new PropertyAccessException("Could not get " + property + " of object " + o, e);
  }
}
 
origin: org.graniteds/granite-client

public boolean isInitialized(Object o) {
  if (o instanceof PersistentCollection)
    return ((PersistentCollection)o).wasInitialized();
  
  Class<?> cls = o.getClass();
  if (!isEntity(cls))
    return true;
  Property property = getInitializedProperty(cls, false);
  if (property == null)
    return true;
  
  try {
    return property.getBoolean(o);
  }
  catch (Exception e) {
    throw new PropertyAccessException("Could not get " + property + " of object " + o, e);
  }
}
 
origin: org.graniteds/granite-client-java

public boolean isInitialized(Object o) {
  if (o instanceof PersistentCollection)
    return ((PersistentCollection<?>)o).wasInitialized();
  
  Class<?> cls = o.getClass();
  if (!isEntity(cls))
    return true;
  Property property = getInitializedProperty(cls, false);
  if (property == null)
    return true;
  
  try {
    return property.getBoolean(o);
  }
  catch (Exception e) {
    throw new PropertyAccessException("Could not get " + property + " of object " + o, e);
  }
}
 
org.granite.messaging.reflectPropertygetBoolean

Popular methods of Property

  • getName
  • getByte
  • getChar
  • getDouble
  • getFloat
  • getInt
  • getLong
  • getObject
  • getShort
  • getType
  • isAnnotationPresent
  • isWritable
  • isAnnotationPresent,
  • isWritable,
  • setBoolean,
  • setByte,
  • setChar,
  • setDouble,
  • setFloat,
  • setInt,
  • setLong

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JLabel (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now