org.openemcee.microflow.impl
Class MicroflowDataDescriptorImpl

java.lang.Object
  extended byorg.openemcee.microflow.impl.MicroflowDataDescriptorImpl
All Implemented Interfaces:
MicroflowDataDescriptor

public class MicroflowDataDescriptorImpl
extends java.lang.Object
implements MicroflowDataDescriptor

Author:
Scott Schenkein

Constructor Summary
MicroflowDataDescriptorImpl()
          Creates a new instance of MicroflowDataDescriptorImpl
MicroflowDataDescriptorImpl(MicroflowDataDescriptorImpl toCopy)
           
 
Method Summary
 AttributePermissionDescriptorImpl addAttributePermission(AttributePermissionDescriptorImpl perm)
           
 MicroflowDataDescriptorImpl deepCopy()
           
 AttributePermissionDescriptorImpl getAttributePermission(java.lang.String name)
           
 PermissionedDataValidator getValidator(java.lang.String attribName)
           
 boolean isAllowed(java.lang.String name, java.lang.Class inType)
          Determines if an object of this type is allowed to be added to the data to which this is associated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MicroflowDataDescriptorImpl

public MicroflowDataDescriptorImpl()
Creates a new instance of MicroflowDataDescriptorImpl


MicroflowDataDescriptorImpl

public MicroflowDataDescriptorImpl(MicroflowDataDescriptorImpl toCopy)
Method Detail

deepCopy

public MicroflowDataDescriptorImpl deepCopy()

getValidator

public PermissionedDataValidator getValidator(java.lang.String attribName)
                                       throws CreationException
Throws:
CreationException

addAttributePermission

public AttributePermissionDescriptorImpl addAttributePermission(AttributePermissionDescriptorImpl perm)

getAttributePermission

public AttributePermissionDescriptorImpl getAttributePermission(java.lang.String name)

isAllowed

public boolean isAllowed(java.lang.String name,
                         java.lang.Class inType)
Description copied from interface: MicroflowDataDescriptor
Determines if an object of this type is allowed to be added to the data to which this is associated.

Specified by:
isAllowed in interface MicroflowDataDescriptor
Parameters:
name - The name of the attribute to check.
inType - The desired type.
Returns:
True if allowed, false if not.


OpenEmcee Microflow Engine for Java: All software and content contained herein is subject to the Mozilla public license v1.1.
SourceForge.net Logo