Esempio n. 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);
  }
Esempio n. 2
0
  public IEntity wGet(IEntity child) {
    if (child.wGetParent() == this) return child;

    throw new IllegalStateException(WholeMessages.null_model);
  }
Esempio n. 3
0
  public EntityDescriptor<?> wGetEntityDescriptor(IEntity child) {
    if (child.wGetParent() == this) return CommonsEntityDescriptorEnum.Any;

    throw new WholeIllegalArgumentException(WholeMessages.null_model);
  }
Esempio n. 4
0
  public boolean wContains(IEntity child) {
    if (child.wGetParent() == this) return true;

    return false;
  }