ch.panter.li.bi.asn.model
Interface AsnField

All Superinterfaces:
NamedItem
All Known Implementing Classes:
AsnFieldImpl

public interface AsnField
extends NamedItem


Method Summary
 ReadOnlyCollection<AsnConstraint> getConstraints()
           
 AsnValue getDefaultValue()
           
 AsnTag getTag()
           
 AsnType getType()
           
 boolean hasConstraints()
           
 boolean hasDefaultValue()
           
 boolean isOptional()
           
 
Methods inherited from interface ch.panter.li.bi.util.NamedItem
getName
 

Method Detail

getTag

AsnTag getTag()

getType

AsnType getType()

isOptional

boolean isOptional()
Returns:
true if the field is either marked OPTIONAL or a DEFAULT value was specified, false for mandatory fields.

hasDefaultValue

boolean hasDefaultValue()
Returns:
true if a DEFAULT value was specified, false for mandatory fields or OPTIONAL fields without a DEFAULT value.

getDefaultValue

AsnValue getDefaultValue()
Returns:
the DEFAULT value to use in case a value is missing. might be null.

hasConstraints

boolean hasConstraints()

getConstraints

ReadOnlyCollection<AsnConstraint> getConstraints()


Copyright 2007-2007 SourceForge. All Rights Reserved.