ch.panter.li.bi.asn.model
Interface AsnField
- All Superinterfaces:
- NamedItem
- All Known Implementing Classes:
- AsnFieldImpl
public interface AsnField
- extends NamedItem
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.