Пример #1
0
  public FeatureDescriptor wGetFeatureDescriptor(IEntity child) {
    if (child.wGetParent() == this)
      return new EntityFeatureDescriptorImpl(
          wGetEntityDescriptor(),
          null,
          null,
          child.wGetEntityDescriptor(),
          false,
          false,
          false,
          false,
          false);

    throw new IllegalStateException(WholeMessages.null_model);
  }
Пример #2
0
  public IEntity wGet(IEntity child) {
    if (child.wGetParent() == this) return child;

    throw new IllegalStateException(WholeMessages.null_model);
  }
Пример #3
0
  public EntityDescriptor<?> wGetEntityDescriptor(IEntity child) {
    if (child.wGetParent() == this) return CommonsEntityDescriptorEnum.Any;

    throw new WholeIllegalArgumentException(WholeMessages.null_model);
  }
Пример #4
0
  public boolean wContains(IEntity child) {
    if (child.wGetParent() == this) return true;

    return false;
  }