KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > modfact > jmi > repository > javax > jmi > model > MultiplicityTypeImpl


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 JavaDoc)refGetValue("lower")).intValue();
7     }
8     public int getUpper() throws javax.jmi.reflect.JmiException {
9         return (int)((Integer JavaDoc)refGetValue("upper")).intValue();
10     }
11     public boolean isOrdered() throws javax.jmi.reflect.JmiException {
12         return (boolean)((Boolean JavaDoc)refGetValue("isOrdered")).booleanValue();
13     }
14     public boolean isUnique() throws javax.jmi.reflect.JmiException {
15         return (boolean)((Boolean JavaDoc)refGetValue("isUnique")).booleanValue();
16     }
17 }
18
Popular Tags