CardinalityRestriction rest = restriction.asCardinalityRestriction();
restricao.setTipoRestriction("cardinality");
restricao.setValorRestriction(Integer.toString(rest.getCardinality()));
}else if(restriction.isMaxCardinalityRestriction()){
MaxCardinalityRestriction rest = restriction.asMaxCardinalityRestriction();
restricao.setTipoRestriction("maxCardinality");
restricao.setValorRestriction(Integer.toString(rest.getMaxCardinality()));
}else if(restriction.isMinCardinalityRestriction()){
MinCardinalityRestriction rest = restriction.asMinCardinalityRestriction();
restricao.setTipoRestriction("minCardinality");
restricao.setValorRestriction(Integer.toString(rest.getMinCardinality()));
}else if(restriction.isSomeValuesFromRestriction()){
SomeValuesFromRestriction rest = restriction.asSomeValuesFromRestriction();
restricao.setTipoRestriction("someValuesFrom");
restricao.setValorRestriction(lowerFirstChar(rest.getSomeValuesFrom().getLocalName()));
}else if(restriction.isHasValueRestriction()){
HasValueRestriction rest = restriction.asHasValueRestriction();
restricao.setTipoRestriction("hasValue");
restricao.setValorRestriction(lowerFirstChar(rest.getHasValue().asResource().getLocalName()));
}else {
restricao.setTipoRestriction("Tipo desconhecido");
restricao.setValorRestriction("Valor desconhecido");
}