public class Restriction extends java.lang.Object implements SimpleDerivation
Constructor and Description |
---|
Restriction() |
Restriction(java.lang.String baseType) |
Modifier and Type | Method and Description |
---|---|
void |
addPattern(java.lang.String regexp) |
All |
getAll() |
AnyAttribute |
getAnyAttribute() |
java.util.List |
getAttributes() |
java.lang.String |
getBaseType() |
Choice |
getChoice() |
java.util.ArrayList |
getEnumerationFacets() |
java.lang.String |
getFractionDigits() |
java.lang.String |
getLength() |
java.lang.String |
getMaxExclusive() |
java.lang.String |
getMaxInclusive() |
java.lang.String |
getMaxLength() |
java.lang.String |
getMinExclusive() |
java.lang.String |
getMinInclusive() |
java.lang.String |
getMinLength() |
Restrictable |
getOwner() |
java.lang.String |
getOwnerName() |
java.util.List<java.lang.String> |
getPatterns() |
Sequence |
getSequence() |
SimpleType |
getSimpleType() |
java.lang.String |
getTotalDigits() |
TypeDefParticle |
getTypeDefParticle() |
void |
mergeWith(Restriction restriction)
Overwrites attributes of this restriction with attributes of the argument,
if they are not null.
|
void |
setAll(All all) |
void |
setAnyAttribute(AnyAttribute any) |
void |
setAttributes(java.util.List attributes) |
void |
setBaseType(java.lang.String baseType) |
void |
setChoice(Choice choice) |
void |
setEnumerationFacets(java.util.ArrayList values) |
void |
setFractionDigits(int fractionDigits) |
void |
setFractionDigits(java.lang.String fractionDigits) |
void |
setLength(int length) |
void |
setLength(java.lang.String length) |
void |
setMaxExclusive(java.lang.String maxExclusive) |
void |
setMaxInclusive(java.lang.String maxInclusive) |
void |
setMaxLength(int maxLength) |
void |
setMaxLength(java.lang.String maxLength) |
void |
setMinExclusive(java.lang.String minExclusive) |
void |
setMinInclusive(java.lang.String minInclusive) |
void |
setMinLength(int minLength) |
void |
setMinLength(java.lang.String minLength) |
void |
setOwner(Restrictable owner) |
void |
setPatterns(java.util.List<java.lang.String> patterns) |
void |
setSequence(Sequence sequence) |
void |
setSimpleType(SimpleType simpleType) |
void |
setTotalDigits(int totalDigits) |
void |
setTotalDigits(java.lang.String totalDigits) |
void |
setTypeDefParticle(TypeDefParticle typeDefParticle) |
public Restriction()
public Restriction(java.lang.String baseType)
public void setMinInclusive(java.lang.String minInclusive)
public java.lang.String getMinInclusive()
public void setMaxInclusive(java.lang.String maxInclusive)
public java.lang.String getMaxInclusive()
public void setMinExclusive(java.lang.String minExclusive)
public java.lang.String getMinExclusive()
public void setMaxExclusive(java.lang.String maxExclusive)
public java.lang.String getMaxExclusive()
public void setBaseType(java.lang.String baseType)
public java.lang.String getBaseType()
public void setTypeDefParticle(TypeDefParticle typeDefParticle)
public TypeDefParticle getTypeDefParticle()
public void setChoice(Choice choice)
public Choice getChoice()
public void setSequence(Sequence sequence)
public Sequence getSequence()
public void setAll(All all)
public All getAll()
public void setSimpleType(SimpleType simpleType)
public SimpleType getSimpleType()
public void setAttributes(java.util.List attributes)
public java.util.List getAttributes()
public java.util.ArrayList getEnumerationFacets()
public void setEnumerationFacets(java.util.ArrayList values)
public void setOwner(Restrictable owner)
public Restrictable getOwner()
public java.lang.String getOwnerName()
public AnyAttribute getAnyAttribute()
public void setAnyAttribute(AnyAttribute any)
public java.lang.String getTotalDigits()
public void setTotalDigits(java.lang.String totalDigits)
public void setTotalDigits(int totalDigits)
public java.lang.String getFractionDigits()
public void setFractionDigits(java.lang.String fractionDigits)
public void setFractionDigits(int fractionDigits)
public java.util.List<java.lang.String> getPatterns()
public void setPatterns(java.util.List<java.lang.String> patterns)
public void addPattern(java.lang.String regexp)
public java.lang.String getLength()
public void setLength(java.lang.String length)
public void setLength(int length)
public java.lang.String getMinLength()
public void setMinLength(java.lang.String minLength)
public void setMinLength(int minLength)
public java.lang.String getMaxLength()
public void setMaxLength(java.lang.String maxLength)
public void setMaxLength(int maxLength)
public void mergeWith(Restriction restriction)
restriction
- EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference