Codota Logo
OAVObjectType.getDeclaredAttributeTypes
Code IndexAdd Codota to your IDE (free)

How to use
getDeclaredAttributeTypes
method
in
jadex.rules.state.OAVObjectType

Best Java code snippets using jadex.rules.state.OAVObjectType.getDeclaredAttributeTypes (Showing top 4 results out of 315)

  • Common ways to obtain OAVObjectType
private void myMethod () {
OAVObjectType o =
  • Codota IconIOAVState state;Object object;state.getType(object)
  • Codota IconOAVAttributeType oAVAttributeType;oAVAttributeType.getType()
  • Codota IconMap map;Object key;(OAVObjectType) map.get(key)
  • Smart code suggestions by Codota
}
origin: net.sourceforge.jadex/jadex-rules

/**
 *  Get the properties of an object. 
 */
protected Collection getProperties(Object object, IContext context, boolean includemethods, boolean includefields)
{
  Collection ret = new LinkedHashSet();
  IOAVState state = (IOAVState)context;
  OAVObjectType type = state.getType(object);
  
  
  while(type!=null && !(type instanceof OAVJavaType))
  {
    Collection props = type.getDeclaredAttributeTypes();
    ret.addAll(props);
    type = type.getSupertype();
  }
  
  return ret;
}
 
origin: org.activecomponents.jadex/jadex-rules

/**
 *  Get the properties of an object. 
 */
protected Collection getProperties(Object object, IContext context, boolean includemethods, boolean includefields)
{
  Collection ret = new LinkedHashSet();
  IOAVState state = (IOAVState)context;
  OAVObjectType type = state.getType(object);
  
  
  while(type!=null && !(type instanceof OAVJavaType))
  {
    Collection props = type.getDeclaredAttributeTypes();
    ret.addAll(props);
    type = type.getSupertype();
  }
  
  return ret;
}
 
origin: net.sourceforge.jadex/jadex-rules-tools

Collection    attrs    = type.getDeclaredAttributeTypes();
for(Iterator it=attrs.iterator(); it.hasNext(); )
origin: net.sourceforge.jadex/jadex-rules-tools

while(type!=null)
  Iterator    it    = type.getDeclaredAttributeTypes().iterator();
  while(it.hasNext())
jadex.rules.stateOAVObjectTypegetDeclaredAttributeTypes

Javadoc

Get the declared attribute types (i.e. not those of super types).

Popular methods of OAVObjectType

  • getName
    Get the name of the OAV object type.
  • getSupertype
    Get the supertype of this typ.
  • createAttributeType
    Create a new attribute type.
  • equals
    Test if two types are equal.
  • getAttributeType
    Get an attribute type description.
  • isSubtype
    Test if this type is same type or subtype of another type.
  • <init>
    Create a new OAV object type.
  • addAttributeType
    Add an attribute type description.
  • getAttributeType0
    Get an attribute type description.
  • getDeclaredAttributeType0
    Get an attribute type description.
  • hashCode
    Get the hash code.
  • hashCode

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now