Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xsd.reader.internal.constraint
Class MappableUsingXsiType

java.lang.Object
  extended by eu.esdihumboldt.hale.common.schema.model.constraint.AbstractFlagConstraint
      extended by eu.esdihumboldt.hale.common.schema.model.constraint.type.MappableFlag
          extended by eu.esdihumboldt.hale.io.xsd.reader.internal.constraint.MappableUsingXsiType
All Implemented Interfaces:
TypeConstraint

public class MappableUsingXsiType
extends MappableFlag

Mappable constraint that determines if a type is mappable using xsi:type.

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.schema.model.constraint.type.MappableFlag
DISABLED, ENABLED
 
Constructor Summary
MappableUsingXsiType(XmlTypeDefinition type)
          Create a mapping constraint that checks if a type is mappable using xsi:type.
 
Method Summary
 boolean isEnabled()
          States if the flag is enabled
 
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.constraint.type.MappableFlag
get, isInheritable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappableUsingXsiType

public MappableUsingXsiType(XmlTypeDefinition type)
Create a mapping constraint that checks if a type is mappable using xsi:type.

Parameters:
type - the type defintion
Method Detail

isEnabled

public boolean isEnabled()
Description copied from class: AbstractFlagConstraint
States if the flag is enabled

Overrides:
isEnabled in class AbstractFlagConstraint
Returns:
the enabled
See Also:
AbstractFlagConstraint.isEnabled()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d