1 package org.objectweb.modfact.jmi.repository.javax.jmi.model; 2 3 import org.objectweb.modfact.jmi.reflect.*; 4 public class MultiplicityTypeImpl extends RefStructImpl implements javax.jmi.model.MultiplicityType { 5 public int getLower() throws javax.jmi.reflect.JmiException { 6 return (int)((Integer )refGetValue("lower")).intValue(); 7 } 8 public int getUpper() throws javax.jmi.reflect.JmiException { 9 return (int)((Integer )refGetValue("upper")).intValue(); 10 } 11 public boolean isOrdered() throws javax.jmi.reflect.JmiException { 12 return (boolean)((Boolean )refGetValue("isOrdered")).booleanValue(); 13 } 14 public boolean isUnique() throws javax.jmi.reflect.JmiException { 15 return (boolean)((Boolean )refGetValue("isUnique")).booleanValue(); 16 } 17 } 18 | Popular Tags |