unit UPAPObju;
{ Generated by MakeComp 1.03 from UPAPTYPE.PAS. Don't modify manually !!! }
interface
uses Classes, SysUtils, Graphics, UlanType, ULRecTyp, ULObju, 
  UPASType,
  UPAPType;

type
  TUPAPObj = class(TULObj)
  protected
    function GetActionsPoolName: TULPrgActionsPoolName;
    procedure SetActionsPoolName(AActionsPoolName: TULPrgActionsPoolName);
    function GetMinRecLen: TULRecLen; override;
  public
    constructor Create(AOwner:TULObj);
    function GetULRecDesc: PULRecDesc; override;
  published
    property ActionsPoolName: TULPrgActionsPoolName
      read GetActionsPoolName write SetActionsPoolName;
  end;

const
  UPAPChildRecIDs: array[0..0] of TULRecID = (
    UPASID
  );
  UPAPFldDescs: array[0..0] of TULFldDesc = (
    (
     Caption: 'Actions Pool Name';
     Hint: '';
     EditWidth: 0;
     BrowseWidth: 0;
     Flags: 4097;
     UserCoef: 0.00;
     NumDec: 0;
     ValuesSourceRecID: 0;
     FieldColorCount : 0;
     FieldColors : nil;
     Filter: '';
     DefDir: '';
     StripPrefix: '';
     EditMask: '';
     MaxID: 0;
     FieldName: 'ActionsPoolName';
     KeyFieldName: '';
     ListFieldName: '';
     Typ: '';
     VarSize: false;
     PasType: 'TULPrgActionsPoolName';
    )
  );

  UPAPRecDesc: TULRecDesc = (
    Caption: 'Actions Pool';
    ChildRecIDsStr: 'UPASID';
    ChildRecIDs: @UPAPChildRecIDs;
    ChildRecIDCount: 1;
    FldCount: 1;
    Flds: @UPAPFldDescs;
    Flags: rfChildAllowed OR rfHasRecName OR rfEnabled OR rfVisible;
    SortExp: '';
    EditFieldList: '';
    BrowseFieldList: '';
    MenuFieldList: '';
    BrowseChildRecIDs: '';
    NameProp: '';
    MainProp: '';
    DefDir: '';
    OpenFilter: '';
    SaveFilter: '';
    Table: '';
    Indexes: ''
   );

implementation

{TUPAPObj}
function TUPAPObj.GetMinRecLen: TULRecLen;
begin
  GetMinRecLen := sizeof(TUPAPRec);
end;

constructor TUPAPObj.Create(AOwner: TULObj);
begin
  inherited Create(TComponent(AOwner), UPAPID);
end;

function TUPAPObj.GetULRecDesc: PULRecDesc;
begin
  Result := @UPAPRecDesc;
end;

procedure TUPAPObj.SetActionsPoolName(AActionsPoolName: TULPrgActionsPoolName);
begin
  if PUPAPRec(Rec)^.ActionsPoolName <> AActionsPoolName then begin
    PUPAPRec(Rec)^.ActionsPoolName := AActionsPoolName;
    if UPAPFldDescs[0].VarSize then 
      ClearFieldsLen;
    DoChange;
  end;
end;

function TUPAPObj.GetActionsPoolName: TULPrgActionsPoolName;
begin
  GetActionsPoolName := PUPAPRec(Rec)^.ActionsPoolName;
end;

{/TUPAPObj}

end.
