Beispiel #1
0
 boolean parent(String typeRef) {
   checkType();
   XTypeRef parent = type.getParent();
   if (parent != null) {
     throw new SidoMoreThanOneParentException(type.getName());
   } else {
     type.setParent(new XTypeRef(typeRef));
     return true;
   }
 }
Beispiel #2
0
 boolean abstractType() {
   checkType();
   type.setAbstractType(true);
   return true;
 }
Beispiel #3
0
 boolean propertyFinish() {
   checkProperty();
   type.addProperty(property);
   property = null;
   return true;
 }